[Python-checkins] cpython (3.5): cleanup random.c
victor.stinner
python-checkins at python.org
Tue Jun 14 10:36:25 EDT 2016
https://hg.python.org/cpython/rev/de2df41ebf97
changeset: 102035:de2df41ebf97
branch: 3.5
parent: 102033:e028e86a5b73
user: Victor Stinner <victor.stinner at gmail.com>
date: Tue Jun 14 16:35:49 2016 +0200
summary:
cleanup random.c
Casting Py_ssize_t to Py_ssize_t is useless.
files:
Python/random.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Python/random.c b/Python/random.c
--- a/Python/random.c
+++ b/Python/random.c
@@ -251,7 +251,7 @@
break;
}
buffer += n;
- size -= (Py_ssize_t)n;
+ size -= n;
}
close(fd);
}
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list