mirror of https://github.com/python/cpython
Fix minor typo in a comment
This commit is contained in:
parent
9591bf11d1
commit
12f896c521
|
@ -1047,7 +1047,7 @@ deque_clear(dequeobject *deque)
|
||||||
static int
|
static int
|
||||||
valid_index(Py_ssize_t i, Py_ssize_t limit)
|
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 */
|
to check whether i is in the range: 0 <= i < limit */
|
||||||
return (size_t) i < (size_t) limit;
|
return (size_t) i < (size_t) limit;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue