Replace PyObject_Unicode with PyObject_Str everywhere, and remove the

#define for PyObject_Unicode in object.h.
This commit is contained in:
Thomas Heller 2007-11-15 20:48:54 +00:00
parent 6e8ea0fd9c
commit 519a042c7c
13 changed files with 25 additions and 26 deletions

View file

@ -770,7 +770,7 @@ do_conversion(PyObject *obj, STRINGLIB_CHAR conversion)
case 'r':
return PyObject_Repr(obj);
case 's':
return PyObject_Unicode(obj);
return PyObject_Str(obj);
default:
PyErr_Format(PyExc_ValueError,
"Unknown converion specifier %c",