diff options
author | Georg Brandl <georg@python.org> | 2008-05-16 13:27:32 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-05-16 13:27:32 (GMT) |
commit | d11ae5d6ecda1d233af651a360c9f9140992f05d (patch) | |
tree | e7db859b829e3efe4583f72286dd57da4aec86fb /Objects | |
parent | 1f2ba4b6dad80f97aeecb5be8f35f44ca792c983 (diff) | |
download | cpython-d11ae5d6ecda1d233af651a360c9f9140992f05d.zip cpython-d11ae5d6ecda1d233af651a360c9f9140992f05d.tar.gz cpython-d11ae5d6ecda1d233af651a360c9f9140992f05d.tar.bz2 |
Rename enumerate() kw argument name to "iterable" and fix "sequence"->"iterable" in some docstrings.
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/enumobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/enumobject.c b/Objects/enumobject.c index 08c7c09..5c60d8c 100644 --- a/Objects/enumobject.c +++ b/Objects/enumobject.c @@ -16,7 +16,7 @@ enum_new(PyTypeObject *type, PyObject *args, PyObject *kwds) enumobject *en; PyObject *seq = NULL; PyObject *start = NULL; - static char *kwlist[] = {"sequence", "start", 0}; + static char *kwlist[] = {"iterable", "start", 0}; if (!PyArg_ParseTupleAndKeywords(args, kwds, "O|O:enumerate", kwlist, &seq, &start)) |