From: Yuki Kobayashi Date: Mon, 3 Mar 2025 14:08:05 +0000 (+0900) Subject: gh-130711: Document `PyBaseObject_Type` (GH-130712) X-Git-Tag: v3.14.0a6~184 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b3c18bfd828ba90b9c712da74095c4a052887655;p=thirdparty%2FPython%2Fcpython.git gh-130711: Document `PyBaseObject_Type` (GH-130712) Co-authored-by: Peter Bierma --- diff --git a/Doc/c-api/structures.rst b/Doc/c-api/structures.rst index d333df397782..987bc167c68d 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.