Skip to content

Commit ac45261

Browse files
committed
Add documentation note.
1 parent 120bc73 commit ac45261

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Doc/library/sys.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1264,6 +1264,17 @@ always available.
12641264

12651265
.. versionadded:: 3.12
12661266

1267+
.. function:: _is_immortal(op)
1268+
1269+
Return :const:`True` if the given object is :term:`immortal`, :const:`False`
1270+
otherwise.
1271+
1272+
.. versionadded:: next
1273+
1274+
.. impl-detail::
1275+
1276+
It is not guaranteed to exist in all implementations of Python.
1277+
12671278
.. function:: _is_interned(string)
12681279

12691280
Return :const:`True` if the given string is "interned", :const:`False`

0 commit comments

Comments
 (0)