sort of backport 66038 by aliasing PyObject_Bytes to PyObject_Str
diff --git a/Doc/c-api/object.rst b/Doc/c-api/object.rst
index a2487ff..76e8beb 100644
--- a/Doc/c-api/object.rst
+++ b/Doc/c-api/object.rst
@@ -130,6 +130,14 @@
by the :keyword:`print` statement.
+.. cfunction:: PyObject* PyObject_Bytes(PyObject *o)
+
+ .. index:: builtin: bytes
+
+ Compute a bytes representation of object *o*. In 2.x, this is just a alias
+ for :cfunc:`PyObject_Str`.
+
+
.. cfunction:: PyObject* PyObject_Unicode(PyObject *o)
.. index:: builtin: unicode