https://github.com/python/cpython/commit/3734bee7649383c7937e0d93c5662801ed9ef68f commit: 3734bee7649383c7937e0d93c5662801ed9ef68f branch: 3.12 author: Alex Waygood <[email protected]> committer: AlexWaygood <[email protected]> date: 2024-04-08T09:18:44Z summary:
[3.12] Fix reference in code.rs (#117615) (#117628) Co-authored-by: Anita Hammer <[email protected]> Fix reference in code.rst (#117615) files: M Doc/library/code.rst diff --git a/Doc/library/code.rst b/Doc/library/code.rst index 3d7f43c86a0557..0fd29c0165d1ac 100644 --- a/Doc/library/code.rst +++ b/Doc/library/code.rst @@ -36,7 +36,7 @@ build applications which provide an interactive interpreter prompt. instance of :class:`InteractiveConsole` and sets *readfunc* to be used as 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. The :meth:`interact` + use as the default namespace for the interpreter loop. 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]
