summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBatuhan Taskaya <batuhanosmantaskaya@gmail.com>2020-05-12 02:32:40 (GMT)
committerGitHub <noreply@github.com>2020-05-12 02:32:40 (GMT)
commitf3a5b7ada0c951f317dbd307de4b410e58d3e1b3 (patch)
tree0cf526c476131c14ca3e31048896d8f0ea486213 /Modules
parentb1b4c790e7d3b5f4244450aefe3d8f01710c13f7 (diff)
downloadcpython-f3a5b7ada0c951f317dbd307de4b410e58d3e1b3.zip
cpython-f3a5b7ada0c951f317dbd307de4b410e58d3e1b3.tar.gz
cpython-f3a5b7ada0c951f317dbd307de4b410e58d3e1b3.tar.bz2
bpo-39481: remove generic classes from ipaddress/mmap (GH-20045)
These were added by mistake (see https://bugs.python.org/issue39481#msg366288).
Diffstat (limited to 'Modules')
-rw-r--r--Modules/mmapmodule.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/Modules/mmapmodule.c b/Modules/mmapmodule.c
index 6c503b3..a3e22d0 100644
--- a/Modules/mmapmodule.c
+++ b/Modules/mmapmodule.c
@@ -816,8 +816,6 @@ static struct PyMethodDef mmap_object_methods[] = {
#ifdef MS_WINDOWS
{"__sizeof__", (PyCFunction) mmap__sizeof__method, METH_NOARGS},
#endif
- {"__class_getitem__", (PyCFunction)Py_GenericAlias, METH_O|METH_CLASS,
- PyDoc_STR("See PEP 585")},
{NULL, NULL} /* sentinel */
};