mirror of https://github.com/python/cpython
Fix PyUnicode_EncodeCharmap()
This commit is contained in:
parent
7931d9a951
commit
fc026c98d8
|
@ -8397,7 +8397,7 @@ PyUnicode_EncodeCharmap(const Py_UNICODE *p,
|
|||
return NULL;
|
||||
result = _PyUnicode_EncodeCharmap(unicode, mapping, errors);
|
||||
Py_DECREF(unicode);
|
||||
return NULL;
|
||||
return result;
|
||||
}
|
||||
|
||||
PyObject *
|
||||
|
|
Loading…
Reference in New Issue