summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorAdorilson Bezerra <adorilson@gmail.com>2019-09-16 16:18:04 (GMT)
committerStéphane Wirtel <stephane@wirtel.be>2019-09-16 16:18:04 (GMT)
commitf18242be16714da2cfe013dbadfaf2e31d971562 (patch)
tree3084042321e98fd6f9e78eba2342a1936509d83b /Doc
parent89b8933bb537179f81003928786c5cc6183af591 (diff)
downloadcpython-f18242be16714da2cfe013dbadfaf2e31d971562.zip
cpython-f18242be16714da2cfe013dbadfaf2e31d971562.tar.gz
cpython-f18242be16714da2cfe013dbadfaf2e31d971562.tar.bz2
Doc: Add link of GNU Readline library to interpreter tutorial (GH-16152)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/tutorial/interpreter.rst15
1 files changed, 8 insertions, 7 deletions
diff --git a/Doc/tutorial/interpreter.rst b/Doc/tutorial/interpreter.rst
index aeb6aa0..ffab8fa 100644
--- a/Doc/tutorial/interpreter.rst
+++ b/Doc/tutorial/interpreter.rst
@@ -34,13 +34,14 @@ status. If that doesn't work, you can exit the interpreter by typing the
following command: ``quit()``.
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
-:kbd:`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.
+substitution and code completion on systems that support the `GNU Readline
+<https://tiswww.case.edu/php/chet/readline/rltop.html>`_ library.
+Perhaps the quickest check to see whether command line editing is supported is
+typing :kbd:`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;