diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-06-26 08:32:00 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-26 08:32:00 (GMT) |
commit | 592d1eadc6266fa1c43fce54af540b63ceb09e1f (patch) | |
tree | b5ad571940f73cca6c56d59d4d610fdfbd9d8dc2 /Doc/c-api/slice.rst | |
parent | b786fe8a0913e4ecfc5f04749a36a85a8aa6fc1c (diff) | |
download | cpython-592d1eadc6266fa1c43fce54af540b63ceb09e1f.zip cpython-592d1eadc6266fa1c43fce54af540b63ceb09e1f.tar.gz cpython-592d1eadc6266fa1c43fce54af540b63ceb09e1f.tar.bz2 |
[3.12] gh-84436: update docs on Py_None/Py_True/Py_False/Py_Ellipsis becoming immortal (GH-105195) (#105977)
gh-84436: update docs on Py_None/Py_True/Py_False/Py_Ellipsis becoming immortal (GH-105195)
(cherry picked from commit a2392720d6108041d17960a86514ba859b436f05)
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
Diffstat (limited to 'Doc/c-api/slice.rst')
-rw-r--r-- | Doc/c-api/slice.rst | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Doc/c-api/slice.rst b/Doc/c-api/slice.rst index 33169cc..c54a659 100644 --- a/Doc/c-api/slice.rst +++ b/Doc/c-api/slice.rst @@ -118,6 +118,9 @@ Ellipsis Object .. c:var:: PyObject *Py_Ellipsis - The Python ``Ellipsis`` object. This object has no methods. It needs to be - treated just like any other object with respect to reference counts. Like - :c:data:`Py_None` it is a singleton object. + The Python ``Ellipsis`` object. This object has no methods. Like + :c:data:`Py_None`, it is an `immortal <https://peps.python.org/pep-0683/>`_. + singleton object. + + .. versionchanged:: 3.12 + :c:data:`Py_Ellipsis` is immortal. |