https://github.com/python/cpython/commit/34f9898e2e6b3f56a3233d6c23b343f752696269
commit: 34f9898e2e6b3f56a3233d6c23b343f752696269
branch: 3.15
author: Miss Islington (bot) <[email protected]>
committer: methane <[email protected]>
date: 2026-10-29T11:08:28Z
summary:

Doc: remove incorrect claims that bool objects have no methods (GH-160876)

(cherry picked from commit 87c0c35ba9ce68b3047af23bec74d9110e811047)

Co-authored-by: Inada Naoki <[email protected]>

files:
M Doc/c-api/bool.rst

diff --git a/Doc/c-api/bool.rst b/Doc/c-api/bool.rst
index b4dc4849d044e1..5db28956473156 100644
--- a/Doc/c-api/bool.rst
+++ b/Doc/c-api/bool.rst
@@ -25,8 +25,7 @@ are available, however.
 
 .. c:var:: PyObject* Py_False
 
-   The Python ``False`` object.  This object has no methods and is
-   :term:`immortal`.
+   The Python ``False`` object.  This object is :term:`immortal`.
 
    .. versionchanged:: 3.12
       :c:data:`Py_False` is :term:`immortal`.
@@ -34,8 +33,7 @@ are available, however.
 
 .. c:var:: PyObject* Py_True
 
-   The Python ``True`` object.  This object has no methods and is
-   :term:`immortal`.
+   The Python ``True`` object.  This object is :term:`immortal`.
 
    .. versionchanged:: 3.12
       :c:data:`Py_True` is :term:`immortal`.

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to