summaryrefslogtreecommitdiffstats
path: root/Modules/itertoolsmodule.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-02-17 08:14:30 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2015-02-17 08:14:30 (GMT)
commit483405bcca9f371bc6910dda7f9b5ba74395682c (patch)
tree3afeb1990bf2ab9d24fdea4409317a08a97af7eb /Modules/itertoolsmodule.c
parent77c041ba64f87ac021c2a7a9314d9a3a1145057f (diff)
downloadcpython-483405bcca9f371bc6910dda7f9b5ba74395682c.zip
cpython-483405bcca9f371bc6910dda7f9b5ba74395682c.tar.gz
cpython-483405bcca9f371bc6910dda7f9b5ba74395682c.tar.bz2
Issue #22883: Got rid of outdated references to PyInt and PyString in comments.
Diffstat (limited to 'Modules/itertoolsmodule.c')
-rw-r--r--Modules/itertoolsmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/itertoolsmodule.c b/Modules/itertoolsmodule.c
index 1f42022..afff7e4 100644
--- a/Modules/itertoolsmodule.c
+++ b/Modules/itertoolsmodule.c
@@ -3874,7 +3874,7 @@ typedef struct {
fast_mode: when cnt an integer < PY_SSIZE_T_MAX and no step is specified.
- assert(cnt != PY_SSIZE_T_MAX && long_cnt == NULL && long_step==PyInt(1));
+ assert(cnt != PY_SSIZE_T_MAX && long_cnt == NULL && long_step==PyLong(1));
Advances with: cnt += 1
When count hits Y_SSIZE_T_MAX, switch to slow_mode.