Skip to content

Commit f18242b

Browse files
adorilsonmatrixise
authored andcommitted
Doc: Add link of GNU Readline library to interpreter tutorial (pythonGH-16152)
1 parent 89b8933 commit f18242b

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

Doc/tutorial/interpreter.rst

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,14 @@ status. If that doesn't work, you can exit the interpreter by typing the
3434
following command: ``quit()``.
3535

3636
The interpreter's line-editing features include interactive editing, history
37-
substitution and code completion on systems that support readline. Perhaps the
38-
quickest check to see whether command line editing is supported is typing
39-
:kbd:`Control-P` to the first Python prompt you get. If it beeps, you have command
40-
line editing; see Appendix :ref:`tut-interacting` for an introduction to the
41-
keys. If nothing appears to happen, or if ``^P`` is echoed, command line
42-
editing isn't available; you'll only be able to use backspace to remove
43-
characters from the current line.
37+
substitution and code completion on systems that support the `GNU Readline
38+
<https://tiswww.case.edu/php/chet/readline/rltop.html>`_ library.
39+
Perhaps the quickest check to see whether command line editing is supported is
40+
typing :kbd:`Control-P` to the first Python prompt you get. If it beeps, you
41+
have command line editing; see Appendix :ref:`tut-interacting` for an
42+
introduction to the keys. If nothing appears to happen, or if ``^P`` is
43+
echoed, command line editing isn't available; you'll only be able to use
44+
backspace to remove characters from the current line.
4445

4546
The interpreter operates somewhat like the Unix shell: when called with standard
4647
input connected to a tty device, it reads and executes commands interactively;

0 commit comments

Comments
 (0)