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 @@ -802,16 +802,16 @@ Object Protocol
802802
803803 .. versionadded :: 3.14
804804
805- .. c :function :: int PyUnstable_SetImmortal (PyObject *obj )
805+ .. 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 * immortal. The argument should be uniquely referenced by
808808 the calling thread.
809809
810810 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
814- This function is intended to be used soon after op is created, by the code that
814+ This function is intended to be used soon after * op * is created, by the code that
815815 creates it, such as in the object's tp_new slot.
816816 Returns 1 if the object was made immortal and returns 0 if it was not.
817817 This function cannot fail.
You can’t perform that action at this time.
0 commit comments