[Python-checkins] cpython: Fix minor typo in a comment

raymond.hettinger python-checkins at python.org
Fri Jul 31 21:03:25 CEST 2015


https://hg.python.org/cpython/rev/c13839a3d4fc
changeset:   97167:c13839a3d4fc
user:        Raymond Hettinger <python at 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


More information about the Python-checkins mailing list