From 4ca26e1cace49bfafa3616df080c72c2d58cfe1b Mon Sep 17 00:00:00 2001 From: Yuki Kobayashi Date: Mon, 3 Mar 2025 23:08:05 +0900 Subject: [PATCH] gh-130711: Document `PyBaseObject_Type` (GH-130712) (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 f9461ab01f6049..a838434ca8125d 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.