[Python-checkins] cpython (merge 3.4 -> default): Merge #20874 fix.

r.david.murray python-checkins at python.org
Wed Apr 16 02:30:14 CEST 2014


http://hg.python.org/cpython/rev/d4e3bea03f9f
changeset:   90345:d4e3bea03f9f
parent:      90342:a0ec713964b1
parent:      90344:b5f4ab357ff9
user:        R David Murray <rdmurray at bitdance.com>
date:        Tue Apr 15 20:30:00 2014 -0400
summary:
  Merge #20874 fix.

files:
  Doc/tutorial/interpreter.rst |  17 ++++++++---------
  1 files changed, 8 insertions(+), 9 deletions(-)


diff --git a/Doc/tutorial/interpreter.rst b/Doc/tutorial/interpreter.rst
--- a/Doc/tutorial/interpreter.rst
+++ b/Doc/tutorial/interpreter.rst
@@ -35,15 +35,14 @@
 status.  If that doesn't work, you can exit the interpreter by typing the
 following command: ``quit()``.
 
-The interpreter's line-editing features usually aren't very sophisticated.  On
-Unix, whoever installed the interpreter may have enabled support for the GNU
-readline library, which adds more elaborate interactive editing and history
-features. Perhaps the quickest check to see whether command line editing is
-supported is typing Control-P to the first Python prompt you get.  If it beeps,
-you have command line editing; see Appendix :ref:`tut-interacting` for an
-introduction to the keys.  If nothing appears to happen, or if ``^P`` is echoed,
-command line editing isn't available; you'll only be able to use backspace to
-remove characters from the current line.
+The interpreter's line-editing features include interactive editing, history
+substitution and code completion on systems that support readline.  Perhaps the
+quickest check to see whether command line editing is supported is typing
+Control-P to the first Python prompt you get.  If it beeps, you have command
+line editing; see Appendix :ref:`tut-interacting` for an introduction to the
+keys.  If nothing appears to happen, or if ``^P`` is echoed, command line
+editing isn't available; you'll only be able to use backspace to remove
+characters from the current line.
 
 The interpreter operates somewhat like the Unix shell: when called with standard
 input connected to a tty device, it reads and executes commands interactively;

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list