commit | a62db275469dedb898eb24aa547a183d23c0106d | [log] [tgz] |
---|---|---|
author | Neal Norwitz <nnorwitz@gmail.com> | Sun Aug 26 18:20:46 2007 +0000 |
committer | Neal Norwitz <nnorwitz@gmail.com> | Sun Aug 26 18:20:46 2007 +0000 |
tree | 4c458de02c0132ed71f998472f226b4c185b3dfb | |
parent | 7f9d29c660c6bd89d2febe0c0507f97513160a40 [diff] [blame] |
Restore an assert, but move it to the proper place.
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index fe23b00..d10d26f 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c
@@ -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;