Issue #18758: Fixed and improved cross-references.

This commit is contained in:
Serhiy Storchaka 2013-10-13 23:09:14 +03:00
parent 24201d497c
commit bfdcd436f0
40 changed files with 144 additions and 125 deletions

View file

@ -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")