Skip to content

Commit 382cff2

Browse files
Fix doc lint.
1 parent fe86353 commit 382cff2

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

Doc/library/interpreters.rst

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -58,23 +58,22 @@ This module defines the following functions:
5858

5959
.. function:: list_all()
6060

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

6464
.. function:: get_current()
6565

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

6969
.. function:: get_main()
7070

71-
-> Interpreter
72-
Get the main interpreter.
71+
Return an :class:`Interpreter` object for the main interpreter.
7372

7473
.. function:: create()
7574

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

7978

8079
Interpreter objects

0 commit comments

Comments
 (0)