Commit 8c2133da authored by Marc-André Lemburg's avatar Marc-André Lemburg

Fix for bug #432384: Recursion in PyString_AsEncodedString?

parent 4a6c5c56
......@@ -265,7 +265,7 @@ PyObject *PyString_AsEncodedString(PyObject *str,
{
PyObject *v;
v = PyString_AsEncodedString(str, encoding, errors);
v = PyString_AsEncodedObject(str, encoding, errors);
if (v == NULL)
goto onError;
......
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