-X died some time ago; remove a tiny bit of associated cruft.
This commit is contained in:
parent
b00e89faab
commit
969f485cba
|
@ -535,10 +535,6 @@ PyErr_NewException(char *name, PyObject *base, PyObject *dict)
|
|||
}
|
||||
if (base == NULL)
|
||||
base = PyExc_Exception;
|
||||
if (!PyClass_Check(base)) {
|
||||
/* Must be using string-based standard exceptions (-X) */
|
||||
return PyString_FromString(name);
|
||||
}
|
||||
if (dict == NULL) {
|
||||
dict = mydict = PyDict_New();
|
||||
if (dict == NULL)
|
||||
|
|
Loading…
Reference in New Issue