summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorMarc-André Lemburg <mal@egenix.com>2001-06-12 13:14:10 (GMT)
committerMarc-André Lemburg <mal@egenix.com>2001-06-12 13:14:10 (GMT)
commit8c2133da7b1059404a3f6b8cc941dbbb6464a03f (patch)
tree2ea990698d3c2827b717c9a811e27e31787310c6 /Objects
parent4a6c5c568facc981c8a9887419137b475931ed40 (diff)
downloadcpython-8c2133da7b1059404a3f6b8cc941dbbb6464a03f.zip
cpython-8c2133da7b1059404a3f6b8cc941dbbb6464a03f.tar.gz
cpython-8c2133da7b1059404a3f6b8cc941dbbb6464a03f.tar.bz2
Fix for bug #432384: Recursion in PyString_AsEncodedString?
Diffstat (limited to 'Objects')
-rw-r--r--Objects/stringobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/stringobject.c b/Objects/stringobject.c
index da49d81..bcf5147 100644
--- a/Objects/stringobject.c
+++ b/Objects/stringobject.c
@@ -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;