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;
_______________________________________________
Python-3000-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000-checkins

Reply via email to