summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2013-04-17 21:58:16 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2013-04-17 21:58:16 (GMT)
commit376cfa122d5a7fa2e63b514af8f4621a4cc40b5a (patch)
tree1c7c6715d0c664b840e89cb480d7310cf4d6f1b5 /Objects
parent8f674ccd6442fd4d415f2d9d1ad8b09c1b4f9f30 (diff)
downloadcpython-376cfa122d5a7fa2e63b514af8f4621a4cc40b5a.zip
cpython-376cfa122d5a7fa2e63b514af8f4621a4cc40b5a.tar.gz
cpython-376cfa122d5a7fa2e63b514af8f4621a4cc40b5a.tar.bz2
Fix typo in unicode_decode_call_errorhandler_writer()
Bug introduced by changeset 7ed9993d53b4.
Diffstat (limited to 'Objects')
-rw-r--r--Objects/unicodeobject.c2
1 files changed, 1 insertions, 1 deletions
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 @@ unicode_decode_call_errorhandler_writer(
if (PyUnicode_GET_LENGTH(repunicode) > 1)
writer->overallocate = 1;
if (_PyUnicodeWriter_WriteStr(writer, repunicode) == -1)
- return
+ goto onError;
*endinpos = newpos;
*inptr = *input + newpos;