https://github.com/python/cpython/commit/6ba95b3e95bbece67c3bb99d7a6dcf13691af2bd commit: 6ba95b3e95bbece67c3bb99d7a6dcf13691af2bd branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: methane <[email protected]> date: 2026-10-29T11:06:56Z 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]
