Mercurial > cpython-lru_cache-weakref
diff Objects/stringlib/string_format.h @ 43866:8ed0280c2ab6
Replace PyObject_Unicode with PyObject_Str everywhere, and remove the
#define for PyObject_Unicode in object.h.
| author | Thomas Heller <theller@ctypes.org> |
|---|---|
| date | Thu, 15 Nov 2007 20:48:54 +0000 |
| parents | 79080c4889bc |
| children | f324631462a2 |
line wrap: on
line diff
--- a/Objects/stringlib/string_format.h Thu Nov 15 20:03:00 2007 +0000 +++ b/Objects/stringlib/string_format.h Thu Nov 15 20:48:54 2007 +0000 @@ -770,7 +770,7 @@ 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",
