mirror of
https://github.com/python/cpython.git
synced 2025-11-25 21:11:09 +00:00
Generic itertools.chain (GH-19417)
This commit is contained in:
parent
38ada3bac8
commit
a8403d057d
2 changed files with 5 additions and 1 deletions
|
|
@ -2028,6 +2028,8 @@ static PyMethodDef chain_methods[] = {
|
|||
reduce_doc},
|
||||
{"__setstate__", (PyCFunction)chain_setstate, METH_O,
|
||||
setstate_doc},
|
||||
{"__class_getitem__", (PyCFunction)Py_GenericAlias,
|
||||
METH_O|METH_CLASS, PyDoc_STR("See PEP 585")},
|
||||
{NULL, NULL} /* sentinel */
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue