diff options
Diffstat (limited to 'Modules/_queuemodule.c')
-rw-r--r-- | Modules/_queuemodule.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/_queuemodule.c b/Modules/_queuemodule.c index 5eef06252cd..28bf8991285 100644 --- a/Modules/_queuemodule.c +++ b/Modules/_queuemodule.c @@ -302,6 +302,8 @@ static PyMethodDef simplequeue_methods[] = { _QUEUE_SIMPLEQUEUE_PUT_METHODDEF _QUEUE_SIMPLEQUEUE_PUT_NOWAIT_METHODDEF _QUEUE_SIMPLEQUEUE_QSIZE_METHODDEF + {"__class_getitem__", (PyCFunction)Py_GenericAlias, + METH_O|METH_CLASS, PyDoc_STR("See PEP 585")}, {NULL, NULL} /* sentinel */ }; |