Rename enumerate() kw argument name to "iterable" and fix "sequence"->"iterable" in some docstrings.

This commit is contained in:
Georg Brandl 2008-05-16 13:27:32 +00:00
parent 1f2ba4b6da
commit d11ae5d6ec
3 changed files with 9 additions and 9 deletions

View file

@ -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))