diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2007-08-26 18:20:46 +0000 |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2007-08-26 18:20:46 +0000 |
commit | a24a1037441dbe98c681785aebc1e66302129733 (patch) | |
tree | fb4034ff626f4a82f8a167d19d72c10bb3718bdb /Objects | |
parent | 1f8fae76bce94ba6b522d66f251f8a3c4ad10693 (diff) | |
download | cpython-a24a1037441dbe98c681785aebc1e66302129733.tar.gz |
Restore an assert, but move it to the proper place.
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/unicodeobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index fe23b00f1c..d10d26f185 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -9194,7 +9194,7 @@ formatteriter_next(formatteriterobject *it) /* 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; |