Changeset 391 for python/trunk/Doc/library/code.rst
- Timestamp:
- Mar 19, 2014, 11:31:01 PM (11 years ago)
- Location:
- python/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
python/trunk
-
Property svn:mergeinfo
set to
/python/vendor/Python-2.7.6 merged eligible /python/vendor/current merged eligible
-
Property svn:mergeinfo
set to
-
python/trunk/Doc/library/code.rst
r2 r391 34 34 Convenience function to run a read-eval-print loop. This creates a new instance 35 35 of :class:`InteractiveConsole` and sets *readfunc* to be used as the 36 :meth:` raw_input` method, if provided. If *local* is provided, it is passed to37 the :class:`InteractiveConsole` constructor for use as the default namespacefor38 the interpreter loop. The :meth:`interact` method of the instance is then run39 with *banner* passed as the banner to use, if provided. The console object is40 discarded after use.36 :meth:`InteractiveConsole.raw_input` method, if provided. If *local* is 37 provided, it is passed to the :class:`InteractiveConsole` constructor for 38 use as the default namespace for the interpreter loop. The :meth:`interact` 39 method of the instance is then run with *banner* passed as the banner to 40 use, if provided. The console object is discarded after use. 41 41 42 42
Note:
See TracChangeset
for help on using the changeset viewer.