File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -804,15 +804,15 @@ Object Protocol
804804
805805.. c :function :: int PyUnstable_SetImmortal (PyObject *op)
806806
807- Marks the object *op * immortal. The argument should be uniquely referenced by
807+ Marks the object *op * :term: ` immortal ` . The argument should be uniquely referenced by
808808 the calling thread.
809809
810- This is a one-way process: objects can only be made immortal, they cannot be
810+ This is a one-way process: objects can only be made immortal; they cannot be
811811 made mortal once again. Immortal objects do not participate in reference counting
812812 and will never be garbage collected.
813813
814814 This function is intended to be used soon after *op * is created, by the code that
815- creates it, such as in the object's tp_new slot.
815+ creates it, such as in the object's :c:member: ` ~PyTypeObject. tp_new` slot.
816816 Returns 1 if the object was made immortal and returns 0 if it was not.
817817 This function cannot fail.
818818
You can’t perform that action at this time.
0 commit comments