summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2013-09-20 20:19:22 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2013-09-20 20:19:22 (GMT)
commitb4a46cb428428ac4fe6fc18257459d8a460ebd9d (patch)
tree86e1f30322a9b0c6025fb20dcaf69802537007f6 /Modules
parentde24a1fc0220bba538d0a59965213f4ec241dc98 (diff)
downloadcpython-b4a46cb428428ac4fe6fc18257459d8a460ebd9d.zip
cpython-b4a46cb428428ac4fe6fc18257459d8a460ebd9d.tar.gz
cpython-b4a46cb428428ac4fe6fc18257459d8a460ebd9d.tar.bz2
Add a comment making it explicit that itertools.tee() is already 64bit-safe (issue #19049)
Diffstat (limited to 'Modules')
-rw-r--r--Modules/itertoolsmodule.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/itertoolsmodule.c b/Modules/itertoolsmodule.c
index 0123181..8be62ce 100644
--- a/Modules/itertoolsmodule.c
+++ b/Modules/itertoolsmodule.c
@@ -401,7 +401,7 @@ static PyTypeObject _grouper_type = {
typedef struct {
PyObject_HEAD
PyObject *it;
- int numread;
+ int numread; /* 0 <= numread <= LINKCELLS */
PyObject *nextlink;
PyObject *(values[LINKCELLS]);
} teedataobject;
@@ -409,7 +409,7 @@ typedef struct {
typedef struct {
PyObject_HEAD
teedataobject *dataobj;
- int index;
+ int index; /* 0 <= index <= LINKCELLS */
PyObject *weakreflist;
} teeobject;