mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Fix for bug #432384: Recursion in PyString_AsEncodedString?
This commit is contained in:
parent
4a6c5c568f
commit
8c2133da7b
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue