[Python-checkins] r58471 - python/trunk/Parser/tokenizer.c

guido.van.rossum python-checkins at python.org
Mon Oct 15 17:54:11 CEST 2007


Author: guido.van.rossum
Date: Mon Oct 15 17:54:11 2007
New Revision: 58471

Modified:
   python/trunk/Parser/tokenizer.c
Log:
Change a PyErr_Print() into a PyErr_Clear(),
per discussion in issue 1031213.


Modified: python/trunk/Parser/tokenizer.c
==============================================================================
--- python/trunk/Parser/tokenizer.c	(original)
+++ python/trunk/Parser/tokenizer.c	Mon Oct 15 17:54:11 2007
@@ -1542,7 +1542,7 @@
 		Py_DECREF(unicode_text);
 	}
 	if (!ret) {
-		PyErr_Print();
+		PyErr_Clear();
 	}
 	return ret;
 }


More information about the Python-checkins mailing list