mirror of
https://github.com/python/cpython.git
synced 2025-07-24 19:54:21 +00:00
-X died some time ago; remove a tiny bit of associated cruft.
This commit is contained in:
parent
b00e89faab
commit
969f485cba
1 changed files with 0 additions and 4 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue