Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add link to the PEP
  • Loading branch information
iritkatriel committed Jun 5, 2023
commit 52a846b81332ef32a25f54e274004faf7a55ec32
6 changes: 4 additions & 2 deletions Doc/c-api/bool.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,17 @@ are available, however.

.. c:var:: PyObject* Py_False

The Python ``False`` object. This object has no methods and is immortal.
The Python ``False`` object. This object has no methods and is
`immortal.<https://peps.python.org/pep-0683/>`_
Comment thread
iritkatriel marked this conversation as resolved.
Outdated

.. versionchanged:: 3.12
:const:`Py_False` is immortal.
Comment thread
iritkatriel marked this conversation as resolved.
Outdated


.. c:var:: PyObject* Py_True

The Python ``True`` object. This object has no methods and is immortal.
The Python ``True`` object. This object has no methods and is
`immortal.<https://peps.python.org/pep-0683/>`_
Comment thread
iritkatriel marked this conversation as resolved.
Outdated

.. versionchanged:: 3.12
:const:`Py_True` is immortal.
Expand Down
3 changes: 2 additions & 1 deletion Doc/c-api/none.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ same reason.

.. c:var:: PyObject* Py_None

The Python ``None`` object, denoting lack of value. This object has no methods.
The Python ``None`` object, denoting lack of value. This object has no methods
and is `immortal.<https://peps.python.org/pep-0683/>`_.
Comment thread
iritkatriel marked this conversation as resolved.
Outdated

.. versionchanged:: 3.12
:const:`Py_None` is immortal.
Expand Down
3 changes: 2 additions & 1 deletion Doc/c-api/slice.rst
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,8 @@ Ellipsis Object
.. c:var:: PyObject *Py_Ellipsis

The Python ``Ellipsis`` object. This object has no methods. Like
:c:data:`Py_None` it is an immortal singleton object.
:c:data:`Py_None` it is an `immortal<https://peps.python.org/pep-0683/>`_
Comment thread
iritkatriel marked this conversation as resolved.
Outdated
singleton object.

.. versionchanged:: 3.12
:c:data:`Py_Ellipsis` is immortal.