[Python-checkins] r45468 - python/trunk/Python/errors.c

neal.norwitz python-checkins at python.org
Mon Apr 17 02:33:24 CEST 2006


Author: neal.norwitz
Date: Mon Apr 17 02:33:23 2006
New Revision: 45468

Modified:
   python/trunk/Python/errors.c
Log:
moduleName can be NULL

Modified: python/trunk/Python/errors.c
==============================================================================
--- python/trunk/Python/errors.c	(original)
+++ python/trunk/Python/errors.c	Mon Apr 17 02:33:23 2006
@@ -604,7 +604,7 @@
 				PyFile_WriteString(": ", f);
 				PyFile_WriteObject(v, f, 0);
 			}
-			Py_DECREF(moduleName);
+			Py_XDECREF(moduleName);
 		}
 		PyFile_WriteString(" in ", f);
 		PyFile_WriteObject(obj, f, 0);


More information about the Python-checkins mailing list