diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2023-07-29 05:48:10 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-29 05:48:10 (GMT) |
commit | f2d07d3289947d10b065b2bb7670c8fb6b6582f2 (patch) | |
tree | 4951b8b9118b548a868de6995c451aa33814dc1c /Doc/c-api | |
parent | 413ba8943e2f1d896a0568eb571a041b88589440 (diff) | |
download | cpython-f2d07d3289947d10b065b2bb7670c8fb6b6582f2.zip cpython-f2d07d3289947d10b065b2bb7670c8fb6b6582f2.tar.gz cpython-f2d07d3289947d10b065b2bb7670c8fb6b6582f2.tar.bz2 |
gh-101100: Sphinx warnings: pick the low hanging fruits (GH-107386)
Diffstat (limited to 'Doc/c-api')
-rw-r--r-- | Doc/c-api/bool.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/c-api/bool.rst b/Doc/c-api/bool.rst index b2d8f21..b14fa6a 100644 --- a/Doc/c-api/bool.rst +++ b/Doc/c-api/bool.rst @@ -11,6 +11,12 @@ creation and deletion functions don't apply to booleans. The following macros are available, however. +.. c:var:: PyTypeObject PyBool_Type + + This instance of :c:type:`PyTypeObject` represents the Python boolean type; it + is the same object as :class:`bool` in the Python layer. + + .. c:function:: int PyBool_Check(PyObject *o) Return true if *o* is of type :c:data:`PyBool_Type`. This function always |