Add a comment making it explicit that itertools.tee() is already 64bit-safe (issue #19049)

This commit is contained in:
Antoine Pitrou 2013-09-20 22:19:22 +02:00
parent de24a1fc02
commit b4a46cb428

View file

@ -401,7 +401,7 @@ static PyTypeObject _grouper_type = {
typedef struct { typedef struct {
PyObject_HEAD PyObject_HEAD
PyObject *it; PyObject *it;
int numread; int numread; /* 0 <= numread <= LINKCELLS */
PyObject *nextlink; PyObject *nextlink;
PyObject *(values[LINKCELLS]); PyObject *(values[LINKCELLS]);
} teedataobject; } teedataobject;
@ -409,7 +409,7 @@ typedef struct {
typedef struct { typedef struct {
PyObject_HEAD PyObject_HEAD
teedataobject *dataobj; teedataobject *dataobj;
int index; int index; /* 0 <= index <= LINKCELLS */
PyObject *weakreflist; PyObject *weakreflist;
} teeobject; } teeobject;