diff options
author | Benjamin Peterson <benjamin@python.org> | 2010-02-25 01:41:28 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2010-02-25 01:41:28 (GMT) |
commit | fa2936c0cc526d571acb59cb388abfb5bde0f8a4 (patch) | |
tree | e0dc38e66ad9054a2b080570b48276e0a7c35759 /Objects | |
parent | e5fd21f11f09c106b0b77a1dee2c25e69f48b84a (diff) | |
download | cpython-fa2936c0cc526d571acb59cb388abfb5bde0f8a4.zip cpython-fa2936c0cc526d571acb59cb388abfb5bde0f8a4.tar.gz cpython-fa2936c0cc526d571acb59cb388abfb5bde0f8a4.tar.bz2 |
Merged revisions 78437 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r78437 | benjamin.peterson | 2010-02-24 19:22:28 -0600 (Wed, 24 Feb 2010) | 1 line
plug reference leak
........
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/exceptions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/exceptions.c b/Objects/exceptions.c index 472425b..57fe9d7 100644 --- a/Objects/exceptions.c +++ b/Objects/exceptions.c @@ -1668,7 +1668,7 @@ UnicodeTranslateError_str(PyObject *self) fmt = "can't translate character '\\u%04x' in position %zd: %U"; else fmt = "can't translate character '\\U%08x' in position %zd: %U"; - return PyUnicode_FromFormat( + result = PyUnicode_FromFormat( fmt, badchar, uself->start, |