mirror of
https://github.com/python/cpython.git
synced 2025-11-03 11:23:31 +00:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -1668,7 +1668,7 @@ UnicodeTranslateError_str(PyObject *self)
|
||||||
fmt = "can't translate character '\\u%04x' in position %zd: %U";
|
fmt = "can't translate character '\\u%04x' in position %zd: %U";
|
||||||
else
|
else
|
||||||
fmt = "can't translate character '\\U%08x' in position %zd: %U";
|
fmt = "can't translate character '\\U%08x' in position %zd: %U";
|
||||||
return PyUnicode_FromFormat(
|
result = PyUnicode_FromFormat(
|
||||||
fmt,
|
fmt,
|
||||||
badchar,
|
badchar,
|
||||||
uself->start,
|
uself->start,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue