mirror of
https://github.com/python/cpython.git
synced 2025-07-15 23:35:23 +00:00
Fix typo in unicode_decode_call_errorhandler_writer()
Bug introduced by changeset 7ed9993d53b4.
This commit is contained in:
parent
8f674ccd64
commit
376cfa122d
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue