projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7931d9a
)
Fix PyUnicode_EncodeCharmap()
author
Victor Stinner
<victor.stinner@haypocalc.com>
Thu, 3 Nov 2011 23:24:51 +0000
(
00:24
+0100)
committer
Victor Stinner
<victor.stinner@haypocalc.com>
Thu, 3 Nov 2011 23:24:51 +0000
(
00:24
+0100)
Objects/unicodeobject.c
patch
|
blob
|
history
diff --git
a/Objects/unicodeobject.c
b/Objects/unicodeobject.c
index 0c5c485ebc2cbf6c6e21b09221eb77f9c3cd538a..541ded8bacddb4835b696ac0c4202e166b3a093d 100644
(file)
--- 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 *