Kaydet (Commit) b4a46cb4 authored tarafından Antoine Pitrou's avatar Antoine Pitrou

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

üst de24a1fc
...@@ -401,7 +401,7 @@ static PyTypeObject _grouper_type = { ...@@ -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 { ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment