summaryrefslogtreecommitdiff
path: root/Objects/enumobject.c
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-05-16 13:27:32 +0000
committerGeorg Brandl <georg@python.org>2008-05-16 13:27:32 +0000
commit9484413bf26e00d89b1210c810f7e52fe155dd63 (patch)
tree933a88f2e79a2bef64c8ec15cdccd33dc0bca90a /Objects/enumobject.c
parent5b23a9d57f31858e07dd625698e30764cf34733e (diff)
downloadcpython-9484413bf26e00d89b1210c810f7e52fe155dd63.tar.gz
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 08c7c096ca..5c60d8ca2e 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))