commit | a8403d057d41a022d819fd8d6fbe2a666f72b6f5 | [log] [tgz] |
---|---|---|
author | Ethan Smith <ethan@ethanhs.me> | Thu Apr 09 20:28:08 2020 -0700 |
committer | GitHub <noreply@github.com> | Thu Apr 09 20:28:08 2020 -0700 |
tree | 9dd4b2f0ea50d8512a9245aeb3c4492b0aa20a2c | |
parent | 38ada3bac8205a7690d573d715b0e84e60297c4c [diff] [blame] |
Generic itertools.chain (GH-19417)
diff --git a/Modules/itertoolsmodule.c b/Modules/itertoolsmodule.c index e99c964..4ebeb74 100644 --- a/Modules/itertoolsmodule.c +++ b/Modules/itertoolsmodule.c
@@ -2028,6 +2028,8 @@ 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 */ };