Commit 969f485c authored by Michael W. Hudson's avatar Michael W. Hudson

-X died some time ago; remove a tiny bit of associated cruft.

parent b00e89fa
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment