summaryrefslogtreecommitdiffstats
path: root/Objects/enumobject.c
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-05-16 13:27:32 (GMT)
committerGeorg Brandl <georg@python.org>2008-05-16 13:27:32 (GMT)
commitd11ae5d6ecda1d233af651a360c9f9140992f05d (patch)
treee7db859b829e3efe4583f72286dd57da4aec86fb /Objects/enumobject.c
parent1f2ba4b6dad80f97aeecb5be8f35f44ca792c983 (diff)
downloadcpython-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/enumobject.c')
-rw-r--r--Objects/enumobject.c2
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))