diff --git a/Modules/_io/iobase.c b/Modules/_io/iobase.c index e72a24f480e75a..d51fc944e1a629 100644 --- a/Modules/_io/iobase.c +++ b/Modules/_io/iobase.c @@ -824,8 +824,6 @@ static PyMethodDef iobase_methods[] = { _IO__IOBASE_READLINES_METHODDEF _IO__IOBASE_WRITELINES_METHODDEF - {"__class_getitem__", (PyCFunction)Py_GenericAlias, METH_O|METH_CLASS, - PyDoc_STR("See PEP 585")}, {NULL, NULL} };