https://github.com/python/cpython/commit/fd3679025d9d0da7eb11f2810ed270c214926992 commit: fd3679025d9d0da7eb11f2810ed270c214926992 branch: main author: Anita Hammer <[email protected]> committer: AlexWaygood <[email protected]> date: 2024-04-07T22:58:57Z summary:
Fix reference in code.rst (#117615) Co-authored-by: Alex Waygood <[email protected]> files: M Doc/library/code.rst diff --git a/Doc/library/code.rst b/Doc/library/code.rst index 091840781bd235..8cb604cf48ff0b 100644 --- a/Doc/library/code.rst +++ b/Doc/library/code.rst @@ -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. _______________________________________________ Python-checkins mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-checkins.python.org/ Member address: [email protected]
