[Python-3000-checkins] r57509 - python/branches/py3k/Objects/unicodeobject.c
neal.norwitz
python-3000-checkins at python.org
Sun Aug 26 20:20:46 CEST 2007
Author: neal.norwitz
Date: Sun Aug 26 20:20:46 2007
New Revision: 57509
Modified:
python/branches/py3k/Objects/unicodeobject.c
Log:
Restore an assert, but move it to the proper place.
Modified: python/branches/py3k/Objects/unicodeobject.c
==============================================================================
--- python/branches/py3k/Objects/unicodeobject.c (original)
+++ python/branches/py3k/Objects/unicodeobject.c Sun Aug 26 20:20:46 2007
@@ -9194,7 +9194,7 @@
/* all of the SubString objects point into it->str, so no
memory management needs to be done on them */
-
+ assert(0 <= result && result <= 2);
if (result == 0) {
/* error has already been set */
return NULL;
More information about the Python-3000-checkins
mailing list