diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-11-03 23:24:51 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-11-03 23:24:51 (GMT) |
commit | fc026c98d82afd4ef2041b5cdca780a47b752821 (patch) | |
tree | ff35b25ea9c84b556115d7907d76d90aaf2a0736 /Objects | |
parent | 7931d9a9514a727ac476f4850406a7d8f5e1c7f7 (diff) | |
download | cpython-fc026c98d82afd4ef2041b5cdca780a47b752821.zip cpython-fc026c98d82afd4ef2041b5cdca780a47b752821.tar.gz cpython-fc026c98d82afd4ef2041b5cdca780a47b752821.tar.bz2 |
Fix PyUnicode_EncodeCharmap()
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 0c5c485..541ded8 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -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 * |