mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +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;
|
PyObject *v;
|
||||||
|
|
||||||
v = PyString_AsEncodedString(str, encoding, errors);
|
v = PyString_AsEncodedObject(str, encoding, errors);
|
||||||
if (v == NULL)
|
if (v == NULL)
|
||||||
goto onError;
|
goto onError;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue