From c82795a0bbdab58c3ddb972310a344a9841ff729 Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Mon, 10 Mar 2025 15:05:45 +0100 Subject: [PATCH] [3.12] gh-130711: Document `PyBaseObject_Type` (GH-130712) (GH-130793) (cherry picked from commit b3c18bfd828ba90b9c712da74095c4a052887655) Co-authored-by: Yuki Kobayashi Co-authored-by: Peter Bierma --- Doc/c-api/structures.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Doc/c-api/structures.rst b/Doc/c-api/structures.rst index 36a0abced0e3..56ef8460c6aa 100644 --- a/Doc/c-api/structures.rst +++ b/Doc/c-api/structures.rst @@ -63,6 +63,11 @@ under :ref:`reference counting `. See documentation of :c:type:`PyVarObject` above. +.. c:var:: PyTypeObject PyBaseObject_Type + + The base class of all other objects, the same as :class:`object` in Python. + + .. c:function:: int Py_Is(PyObject *x, PyObject *y) Test if the *x* object is the *y* object, the same as ``x is y`` in Python. -- 2.47.3