8000 gh-134939: Add the interpreters Module by ericsnowcurrently · Pull Request #133958 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-134939: Add the interpreters Module #133958

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 17 commits into from
Jun 11, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix doc lint.
  • Loading branch information
ericsnowcurrently committed May 30, 2025
commit 382cff24d0f25990b26af355a45647dade8adb44
15 changes: 7 additions & 8 deletions Doc/library/interpreters.rst
Original file line number Diff line number Diff line change
Expand Up @@ -58,23 +58,22 @@ This module defines the following functions:

.. function:: list_all()

-> [Interpreter]``
Get all existing interpreters.
Return a :class:`list` of :class:`Interpreter`,
one for each existing interpreter.

.. function:: get_current()

-> Interpreter
Get the currently running interpreter.
Return an :class:`Interpreter` object for the currently running
interpreter.

.. function:: get_main()

-> Interpreter
Get the main interpreter.
Return an :class:`Interpreter` object for the main interpreter.

.. function:: create()

-> Interpreter
Initialize a new (idle) Python interpreter.
Initialize a new (idle) Python interpreter
and return a :class:`Interpreter` object for it.


Interpreter objects
Expand Down
Loading
0