Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8c2133d

Browse files
committed
Fix for bug #432384: Recursion in PyString_AsEncodedString?
1 parent 4a6c5c5 commit 8c2133d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Objects/stringobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ PyObject *PyString_AsEncodedString(PyObject *str,
265265
{
266266
PyObject *v;
267267

268-
v = PyString_AsEncodedString(str, encoding, errors);
268+
v = PyString_AsEncodedObject(str, encoding, errors);
269269
if (v == NULL)
270270
goto onError;
271271

0 commit comments

Comments
 (0)