diff Python/errors.c @ 34440:ed4dc05ea4b8 legacy-trunk

-X died some time ago; remove a tiny bit of associated cruft.
author Michael W. Hudson <mwh@python.net>
date Tue, 18 Jan 2005 15:26:11 +0000
parents 846b3ee7e106
children 30aef3ce2b26
line wrap: on
line diff
--- a/Python/errors.c	Tue Jan 18 00:54:58 2005 +0000
+++ b/Python/errors.c	Tue Jan 18 15:26:11 2005 +0000
@@ -535,10 +535,6 @@
 	}
 	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)