mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +00:00
[3.14] gh-133970: Make PEP750 types generic (GH-133976) (#134029)
gh-133970: Make PEP750 types generic (GH-133976)
(cherry picked from commit c3a1da5b93
)
Co-authored-by: sobolevn <mail@sobolevn.me>
This commit is contained in:
parent
b6299e8f16
commit
f2a4b1066b
4 changed files with 11 additions and 1 deletions
|
@ -137,6 +137,8 @@ interpolation_reduce(PyObject *op, PyObject *Py_UNUSED(dummy))
|
|||
static PyMethodDef interpolation_methods[] = {
|
||||
{"__reduce__", interpolation_reduce, METH_NOARGS,
|
||||
PyDoc_STR("__reduce__() -> (cls, state)")},
|
||||
{"__class_getitem__", Py_GenericAlias,
|
||||
METH_O|METH_CLASS, PyDoc_STR("See PEP 585")},
|
||||
{NULL, NULL},
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue