mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
Merge ssize_t branch.
This commit is contained in:
parent
4482929734
commit
18e165558b
102 changed files with 2659 additions and 1677 deletions
|
|
@ -214,7 +214,7 @@ multibytecodec_encerror(MultibyteCodec *codec,
|
|||
if (buf->excobj == NULL) {
|
||||
buf->excobj = PyUnicodeEncodeError_Create(codec->encoding,
|
||||
buf->inbuf_top,
|
||||
(int)(buf->inbuf_end - buf->inbuf_top),
|
||||
buf->inbuf_end - buf->inbuf_top,
|
||||
start, end, reason);
|
||||
if (buf->excobj == NULL)
|
||||
goto errorexit;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue