Message230578
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:06 | rhettinger | set | recipients:
+ rhettinger, georg.brandl, terry.reedy, ezio.melotti, r.david.murray, docs@python, ethan.furman, tshepang, vy0123 |
2014-11-04 05:22:06 | rhettinger | set | messageid: <1415078526.14.0.264691745755.issue22725@psf.upfronthosting.co.za> |
2014-11-04 05:22:06 | rhettinger | link | issue22725 messages |
2014-11-04 05:22:05 | rhettinger | create | |
|