We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 248f195 commit e4daf11Copy full SHA for e4daf11
Objects/exceptions.c
@@ -1661,7 +1661,7 @@ static PyMemberDef BaseExceptionGroup_members[] = {
1661
};
1662
1663
static PyMethodDef BaseExceptionGroup_methods[] = {
1664
- {"__class_getitem__", (PyCFunction)Py_GenericAlias,
+ {"__class_getitem__", Py_GenericAlias,
1665
METH_O|METH_CLASS, PyDoc_STR("See PEP 585")},
1666
{"derive", BaseExceptionGroup_derive, METH_O},
1667
{"split", BaseExceptionGroup_split, METH_O},
0 commit comments