diff options
author | Marc-André Lemburg <mal@egenix.com> | 2001-06-12 13:14:10 (GMT) |
---|---|---|
committer | Marc-André Lemburg <mal@egenix.com> | 2001-06-12 13:14:10 (GMT) |
commit | 8c2133da7b1059404a3f6b8cc941dbbb6464a03f (patch) | |
tree | 2ea990698d3c2827b717c9a811e27e31787310c6 | |
parent | 4a6c5c568facc981c8a9887419137b475931ed40 (diff) | |
download | cpython-8c2133da7b1059404a3f6b8cc941dbbb6464a03f.zip cpython-8c2133da7b1059404a3f6b8cc941dbbb6464a03f.tar.gz cpython-8c2133da7b1059404a3f6b8cc941dbbb6464a03f.tar.bz2 |
Fix for bug #432384: Recursion in PyString_AsEncodedString?
-rw-r--r-- | Objects/stringobject.c | 2 |
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; |