Skip to content

Commit

Permalink
bpo-36157:Document PyInterpreterState_Main() (pythonGH-12238)
Browse files Browse the repository at this point in the history
I have added documentation for `PyInterpreterState_Main()`.
 I chose to place it under Advanced Debugger Support together with similar functions like `PyInterpreterState_Head()`, `PyInterpreterState_Next(`), and `PyInterpreterState_ThreadHead()` .


https://bugs.python.org/issue36157
  • Loading branch information
nanjekyejoannah authored and miss-islington committed Apr 1, 2019
1 parent a4d7836 commit 8c61739
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Doc/c-api/init.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1395,6 +1395,11 @@ These functions are only intended to be used by advanced debugging tools.
Return the interpreter state object at the head of the list of all such objects.
.. c:function:: PyInterpreterState* PyInterpreterState_Main()
Return the main interpreter state object.
.. c:function:: PyInterpreterState* PyInterpreterState_Next(PyInterpreterState *interp)
Return the next interpreter state object after *interp* from the list of all
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Added Documention for PyInterpreterState_Main().

0 comments on commit 8c61739

Please sign in to comment.