Skip to content

Commit a05d9ae

Browse files
authored
Do not make IOBase generic (python#11)
1 parent 7b1ad20 commit a05d9ae

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Modules/_io/iobase.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -824,8 +824,6 @@ static PyMethodDef iobase_methods[] = {
824824
_IO__IOBASE_READLINES_METHODDEF
825825
_IO__IOBASE_WRITELINES_METHODDEF
826826

827-
{"__class_getitem__", (PyCFunction)Py_GenericAlias, METH_O|METH_CLASS,
828-
PyDoc_STR("See PEP 585")},
829827
{NULL, NULL}
830828
};
831829

0 commit comments

Comments
 (0)