diff Include/object.h @ 48872:edd2ca894a67 legacy-trunk

sort of backport 66038 by aliasing PyObject_Bytes to PyObject_Str
author Benjamin Peterson <benjamin@python.org>
date Tue, 26 Aug 2008 17:08:40 +0000
parents 96a4cda65c55
children 3ef9756ffdac e9748db47635
line wrap: on
line diff
--- a/Include/object.h	Mon Aug 25 03:52:40 2008 +0000
+++ b/Include/object.h	Tue Aug 26 17:08:40 2008 +0000
@@ -458,6 +458,7 @@
 PyAPI_FUNC(PyObject *) PyObject_Repr(PyObject *);
 PyAPI_FUNC(PyObject *) _PyObject_Str(PyObject *);
 PyAPI_FUNC(PyObject *) PyObject_Str(PyObject *);
+#define PyObject_Bytes PyObject_Str
 #ifdef Py_USING_UNICODE
 PyAPI_FUNC(PyObject *) PyObject_Unicode(PyObject *);
 #endif