]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Doc: Add link of GNU Readline library to interpreter tutorial (GH-16152) (GH-16189)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 16 Sep 2019 16:30:04 +0000 (09:30 -0700)
committerStéphane Wirtel <stephane@wirtel.be>
Mon, 16 Sep 2019 16:30:04 +0000 (18:30 +0200)
(cherry picked from commit f18242be16714da2cfe013dbadfaf2e31d971562)

Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
Doc/tutorial/interpreter.rst

index 60f13fcb4894e6ec15cd3f2165fee41417b605f5..320befdbb9d0cd6a1ca6288bca0d3cc6324ae185 100644 (file)
@@ -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;