]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix reference in code.rst (#117615)
authorAnita Hammer <166057949+anitahammer@users.noreply.github.com>
Sun, 7 Apr 2024 22:58:57 +0000 (23:58 +0100)
committerGitHub <noreply@github.com>
Sun, 7 Apr 2024 22:58:57 +0000 (22:58 +0000)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Doc/library/code.rst

index 091840781bd235b3392d853c4ef5d55fdeb61fb4..8cb604cf48ff0b8822f61817d8285b24358b994c 100644 (file)
@@ -41,7 +41,7 @@ build applications which provide an interactive interpreter prompt.
    the :meth:`InteractiveConsole.raw_input` method, if provided.  If *local* is
    provided, it is passed to the :class:`InteractiveConsole` constructor for
    use as the default namespace for the interpreter loop.  If *local_exit* is provided,
-   it is passed to the :class:`InteractiveConsole` constructor.  The :meth:`interact`
+   it is passed to the :class:`InteractiveConsole` constructor.  The :meth:`~InteractiveConsole.interact`
    method of the instance is then run with *banner* and *exitmsg* passed as the
    banner and exit message to use, if provided.  The console object is discarded
    after use.