From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Mon, 10 Mar 2025 14:05:38 +0000 (+0100) Subject: [3.13] gh-130711: Document `PyBaseObject_Type` (GH-130712) (GH-130792) X-Git-Tag: v3.13.3~149 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30e8bd2a41e6e547a76021d75d75670995c2e948;p=thirdparty%2FPython%2Fcpython.git [3.13] gh-130711: Document `PyBaseObject_Type` (GH-130712) (GH-130792) (cherry picked from commit b3c18bfd828ba90b9c712da74095c4a052887655) Co-authored-by: Yuki Kobayashi Co-authored-by: Peter Bierma --- diff --git a/Doc/c-api/structures.rst b/Doc/c-api/structures.rst index f9461ab01f60..a838434ca812 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.