commit | 376cfa122d5a7fa2e63b514af8f4621a4cc40b5a | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Wed Apr 17 23:58:16 2013 +0200 |
committer | Victor Stinner <victor.stinner@gmail.com> | Wed Apr 17 23:58:16 2013 +0200 |
tree | 1c7c6715d0c664b840e89cb480d7310cf4d6f1b5 | |
parent | 8f674ccd6442fd4d415f2d9d1ad8b09c1b4f9f30 [diff] |
Fix typo in unicode_decode_call_errorhandler_writer() Bug introduced by changeset 7ed9993d53b4.
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index c4157d8..d4cb9c9 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c
@@ -4124,7 +4124,7 @@ if (PyUnicode_GET_LENGTH(repunicode) > 1) writer->overallocate = 1; if (_PyUnicodeWriter_WriteStr(writer, repunicode) == -1) - return + goto onError; *endinpos = newpos; *inptr = *input + newpos;