From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Mon, 10 Mar 2025 14:05:45 +0000 (+0100) Subject: [3.12] gh-130711: Document `PyBaseObject_Type` (GH-130712) (GH-130793) X-Git-Tag: v3.12.10~111 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c82795a0bbdab58c3ddb972310a344a9841ff729;p=thirdparty%2FPython%2Fcpython.git [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 --- 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.