Fix for bug #432384: Recursion in PyString_AsEncodedString?

This commit is contained in:
Marc-André Lemburg 2001-06-12 13:14:10 +00:00
parent 4a6c5c568f
commit 8c2133da7b

View file

@ -265,7 +265,7 @@ PyObject *PyString_AsEncodedString(PyObject *str,
{ {
PyObject *v; PyObject *v;
v = PyString_AsEncodedString(str, encoding, errors); v = PyString_AsEncodedObject(str, encoding, errors);
if (v == NULL) if (v == NULL)
goto onError; goto onError;