Skip to content

Commit 3734bee

Browse files
[3.12] Fix reference in code.rs (#117615) (#117628)
Co-authored-by: Anita Hammer <166057949+anitahammer@users.noreply.github.com> Fix reference in code.rst (#117615)
1 parent 7374d65 commit 3734bee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/code.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ build applications which provide an interactive interpreter prompt.
3636
instance of :class:`InteractiveConsole` and sets *readfunc* to be used as
3737
the :meth:`InteractiveConsole.raw_input` method, if provided. If *local* is
3838
provided, it is passed to the :class:`InteractiveConsole` constructor for
39-
use as the default namespace for the interpreter loop. The :meth:`interact`
39+
use as the default namespace for the interpreter loop. The :meth:`~InteractiveConsole.interact`
4040
method of the instance is then run with *banner* and *exitmsg* passed as the
4141
banner and exit message to use, if provided. The console object is discarded
4242
after use.

0 commit comments

Comments
 (0)