Commit c5f4e1ec authored by Benjamin Peterson's avatar Benjamin Peterson

plug reference leak

parent 1373a078
...@@ -1668,7 +1668,7 @@ UnicodeTranslateError_str(PyObject *self) ...@@ -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,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment