Author rhettinger
Recipients docs@python, ethan.furman, ezio.melotti, georg.brandl, r.david.murray, rhettinger, terry.reedy, tshepang, vy0123
Date 2014-11-04.05:22:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
static PyObject *
> Why do you say that 'sequence' is a keyword?

It is a keyword argument to enumerate().  Here's the relevant section of code:

enum_new(PyTypeObject *type, PyObject *args, PyObject *kwds)
    enumobject *en;
    PyObject *seq = NULL;
    PyObject *start = NULL;
    static char *kwlist[] = {"sequence", "start", 0};

    if (!PyArg_ParseTupleAndKeywords(args, kwds, "O|O:enumerate", kwlist,
                                     &seq, &start))
        return NULL
Date User Action Args
2014-11-04 05:22:06rhettingersetrecipients: + rhettinger, georg.brandl, terry.reedy, ezio.melotti, r.david.murray, docs@python, ethan.furman, tshepang, vy0123
2014-11-04 05:22:06rhettingersetmessageid: <>
2014-11-04 05:22:06rhettingerlinkissue22725 messages
2014-11-04 05:22:05rhettingercreate