diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2013-10-13 20:12:09 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2013-10-13 20:12:09 (GMT) |
commit | 98b28fddd8e63e1a9410facee3e41925eed8ac46 (patch) | |
tree | 410d277cbb20078d5fd226e8dd4d24bd225237d8 /Doc/library/code.rst | |
parent | 6039db8de30b5c20ba864cc4127fbfabf6fc0641 (diff) | |
parent | bfdcd436f0410e2b3eb34ce4fd7411488d3f13fb (diff) | |
download | cpython-98b28fddd8e63e1a9410facee3e41925eed8ac46.zip cpython-98b28fddd8e63e1a9410facee3e41925eed8ac46.tar.gz cpython-98b28fddd8e63e1a9410facee3e41925eed8ac46.tar.bz2 |
Issue #18758: Fixed and improved cross-references.
Diffstat (limited to 'Doc/library/code.rst')
-rw-r--r-- | Doc/library/code.rst | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Doc/library/code.rst b/Doc/library/code.rst index d1f9475..5b5d7cc 100644 --- a/Doc/library/code.rst +++ b/Doc/library/code.rst @@ -29,13 +29,13 @@ build applications which provide an interactive interpreter prompt. .. function:: interact(banner=None, readfunc=None, local=None) - Convenience function to run a read-eval-print loop. This creates a new instance - of :class:`InteractiveConsole` and sets *readfunc* to be used as the - :meth:`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` method of the instance is then run - with *banner* passed as the banner to use, if provided. The console object is - discarded after use. + Convenience function to run a read-eval-print loop. This creates a new + 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` + method of the instance is then run with *banner* passed as the banner to + use, if provided. The console object is discarded after use. .. function:: compile_command(source, filename="<input>", symbol="single") |