diff options
author | Raymond Hettinger <python@rcn.com> | 2008-02-23 04:03:50 +0000 |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2008-02-23 04:03:50 +0000 |
commit | 532316dfa6ae752e9211d28d1ef9a8d0399c018c (patch) | |
tree | f26c604f49042bf40b69aa3f5eb0451e95737794 | |
parent | a73fbe791d0d41db543ebe39d2f6df0a4265be4b (diff) | |
download | cpython-git-532316dfa6ae752e9211d28d1ef9a8d0399c018c.tar.gz |
Add more comments
-rw-r--r-- | Modules/itertoolsmodule.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Modules/itertoolsmodule.c b/Modules/itertoolsmodule.c index 5a3b03fa6b..ef15a39d8a 100644 --- a/Modules/itertoolsmodule.c +++ b/Modules/itertoolsmodule.c @@ -1746,10 +1746,10 @@ static PyTypeObject chain_type = { typedef struct { PyObject_HEAD PyObject *pools; /* tuple of pool tuples */ - Py_ssize_t *maxvec; - Py_ssize_t *indices; - PyObject *result; - int stopped; + Py_ssize_t *maxvec; /* size of each pool */ + Py_ssize_t *indices; /* one index per pool */ + PyObject *result; /* most recently returned result tuple */ + int stopped; /* set to 1 when the product iterator is exhausted */ } productobject; static PyTypeObject product_type; |