diff options
author | Raymond Hettinger <python@rcn.com> | 2015-07-31 19:03:20 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2015-07-31 19:03:20 (GMT) |
commit | 12f896c52128178b8b220ba63084cd68a4c15574 (patch) | |
tree | 4bad340dc59ab5304225093dca940cc484a0929b /Modules/_collectionsmodule.c | |
parent | 9591bf11d1852d323ca2c1231d129c9083ca6131 (diff) | |
download | cpython-12f896c52128178b8b220ba63084cd68a4c15574.zip cpython-12f896c52128178b8b220ba63084cd68a4c15574.tar.gz cpython-12f896c52128178b8b220ba63084cd68a4c15574.tar.bz2 |
Fix minor typo in a comment
Diffstat (limited to 'Modules/_collectionsmodule.c')
-rw-r--r-- | Modules/_collectionsmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_collectionsmodule.c b/Modules/_collectionsmodule.c index d2c0448..749cf6b 100644 --- a/Modules/_collectionsmodule.c +++ b/Modules/_collectionsmodule.c @@ -1047,7 +1047,7 @@ deque_clear(dequeobject *deque) 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; } |