(original) (raw)
changeset: 85761:900bf633b7f4 user: Antoine Pitrou solipsis@pitrou.net date: Fri Sep 20 22:19:22 2013 +0200 files: Modules/itertoolsmodule.c description: Add a comment making it explicit that itertools.tee() is already 64bit-safe (issue #19049) diff -r 0e794f6396fb -r 900bf633b7f4 Modules/itertoolsmodule.c --- a/Modules/itertoolsmodule.c Fri Sep 20 21:26:56 2013 +0300 +++ b/Modules/itertoolsmodule.c Fri Sep 20 22:19:22 2013 +0200 @@ -401,7 +401,7 @@ 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 { PyObject_HEAD teedataobject *dataobj; - int index; + int index; /* 0 <= index <= LINKCELLS */ PyObject *weakreflist; } teeobject; /solipsis@pitrou.net