Skip to content

Commit 100d850

Browse files
committed
Rename PyUnstable_InterpreterRef_GetMain to PyUnstable_GetDefaultInterpreterRef.
Per discussion on DPO. The idea is that this is a general runtime/lifecycle API, not an operation executing on an interpreter reference.
1 parent 4ed9e36 commit 100d850

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

peps/pep-0788.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ Strong Interpreter References
435435
436436
The caller must hold an :term:`attached thread state`.
437437
438-
.. c:function:: PyInterpreterRef PyUnstable_InterpreterRef_GetMain(PyInterpreterRef *ref)
438+
.. c:function:: PyInterpreterRef PyUnstable_GetDefaultInterpreterRef(PyInterpreterRef *ref)
439439
440440
Acquire a strong reference to the main interpreter.
441441

0 commit comments

Comments
 (0)