cpython: Fix minor typo in a comment
https://hg.python.org/cpython/rev/c13839a3d4fc changeset: 97167:c13839a3d4fc user: Raymond Hettinger <python@rcn.com> date: Fri Jul 31 12:03:20 2015 -0700 summary: Fix minor typo in a comment files: Modules/_collectionsmodule.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Modules/_collectionsmodule.c b/Modules/_collectionsmodule.c --- a/Modules/_collectionsmodule.c +++ b/Modules/_collectionsmodule.c @@ -1047,7 +1047,7 @@ static int valid_index(Py_ssize_t i, Py_ssize_t limit) { - /* The cast to size_t let us use just a single comparison + /* The cast to size_t lets us use just a single comparison to check whether i is in the range: 0 <= i < limit */ return (size_t) i < (size_t) limit; } -- Repository URL: https://hg.python.org/cpython
participants (1)
-
raymond.hettinger