mirror of
https://github.com/python/cpython.git
synced 2026-04-25 21:30:45 +00:00
bpo-36157:Document PyInterpreterState_Main() (GH-12238)
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
(cherry picked from commit 8c61739def)
Co-authored-by: Joannah Nanjekye <33177550+nanjekyejoannah@users.noreply.github.com>
This commit is contained in:
parent
8384670615
commit
35fc38e5e8
2 changed files with 6 additions and 0 deletions
|
|
@ -1383,6 +1383,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
|
||||
|
|
|
|||
|
|
@ -0,0 +1 @@
|
|||
Added Documention for PyInterpreterState_Main().
|
||||
Loading…
Add table
Add a link
Reference in a new issue