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 ........
This commit is contained in:
parent
e5fd21f11f
commit
fa2936c0cc
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue