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:
Benjamin Peterson 2010-02-25 01:41:28 +00:00
parent e5fd21f11f
commit fa2936c0cc
1 changed files with 1 additions and 1 deletions

View File

@ -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,