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

This commit is contained in:
Michael W. Hudson 2005-01-18 15:26:11 +00:00
parent b00e89faab
commit 969f485cba
1 changed files with 0 additions and 4 deletions

View File

@ -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)