diff options
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 1b6a453..50476ea 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -4111,7 +4111,7 @@ static int encode_mbcs(PyObject **repr, else { /* Extend string object */ n = PyBytes_Size(*repr); - if (_PyBytes_Resize(&repr, n + mbcssize) < 0) + if (_PyBytes_Resize(repr, n + mbcssize) < 0) return -1; } |