File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -897,9 +897,8 @@ BaseExceptionGroup_str(PyBaseExceptionGroupObject *self)
897897}
898898
899899static PyObject *
900- BaseExceptionGroup_repr (PyObject * op )
900+ BaseExceptionGroup_repr (PyBaseExceptionGroupObject * self )
901901{
902- PyBaseExceptionGroupObject * self = PyBaseExceptionGroupObject_CAST (op );
903902 assert (self -> msg );
904903
905904 PyObject * exceptions_str = NULL ;
@@ -1736,7 +1735,7 @@ static PyMethodDef ImportError_methods[] = {
17361735ComplexExtendsException (PyExc_Exception , ImportError ,
17371736 ImportError , 0 /* new */ ,
17381737 ImportError_methods , ImportError_members ,
1739- 0 /* getset */ , ImportError_str ,
1738+ 0 /* getset */ , ImportError_str , 0 ,
17401739 "Import can't find module, or can't find name in "
17411740 "module." );
17421741
You can’t perform that action at this time.
0 commit comments