Skip to content

Commit fd36790

Browse files
Fix reference in code.rst (#117615)
Co-authored-by: Alex Waygood <[email protected]>
1 parent 375425a commit fd36790

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
@@ -41,7 +41,7 @@ build applications which provide an interactive interpreter prompt.
4141
the :meth:`InteractiveConsole.raw_input` method, if provided. If *local* is
4242
provided, it is passed to the :class:`InteractiveConsole` constructor for
4343
use as the default namespace for the interpreter loop. If *local_exit* is provided,
44-
it is passed to the :class:`InteractiveConsole` constructor. The :meth:`interact`
44+
it is passed to the :class:`InteractiveConsole` constructor. The :meth:`~InteractiveConsole.interact`
4545
method of the instance is then run with *banner* and *exitmsg* passed as the
4646
banner and exit message to use, if provided. The console object is discarded
4747
after use.

0 commit comments

Comments
 (0)