mirror of
https://github.com/python/cpython.git
synced 2025-07-15 23:35:23 +00:00
Fix PyUnicode_EncodeCharmap()
This commit is contained in:
parent
7931d9a951
commit
fc026c98d8
1 changed files with 1 additions and 1 deletions
|
@ -8397,7 +8397,7 @@ PyUnicode_EncodeCharmap(const Py_UNICODE *p,
|
||||||
return NULL;
|
return NULL;
|
||||||
result = _PyUnicode_EncodeCharmap(unicode, mapping, errors);
|
result = _PyUnicode_EncodeCharmap(unicode, mapping, errors);
|
||||||
Py_DECREF(unicode);
|
Py_DECREF(unicode);
|
||||||
return NULL;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
PyObject *
|
PyObject *
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue