From a05d9ae1da8e8137e0881fe51226cc08cb195be1 Mon Sep 17 00:00:00 2001 From: Ethan Smith Date: Fri, 7 Feb 2020 10:05:57 -0800 Subject: [PATCH] Do not make IOBase generic (#11) --- Modules/_io/iobase.c | 2 -- 1 file changed, 2 deletions(-) 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} };