Commit f18242be authored by Adorilson Bezerra's avatar Adorilson Bezerra Committed by Stéphane Wirtel

Doc: Add link of GNU Readline library to interpreter tutorial (GH-16152)

parent 89b8933b
...@@ -34,13 +34,14 @@ status. If that doesn't work, you can exit the interpreter by typing the ...@@ -34,13 +34,14 @@ status. If that doesn't work, you can exit the interpreter by typing the
following command: ``quit()``. following command: ``quit()``.
The interpreter's line-editing features include interactive editing, history The interpreter's line-editing features include interactive editing, history
substitution and code completion on systems that support readline. Perhaps the substitution and code completion on systems that support the `GNU Readline
quickest check to see whether command line editing is supported is typing <https://tiswww.case.edu/php/chet/readline/rltop.html>`_ library.
:kbd:`Control-P` to the first Python prompt you get. If it beeps, you have command Perhaps the quickest check to see whether command line editing is supported is
line editing; see Appendix :ref:`tut-interacting` for an introduction to the typing :kbd:`Control-P` to the first Python prompt you get. If it beeps, you
keys. If nothing appears to happen, or if ``^P`` is echoed, command line have command line editing; see Appendix :ref:`tut-interacting` for an
editing isn't available; you'll only be able to use backspace to remove introduction to the keys. If nothing appears to happen, or if ``^P`` is
characters from the current line. 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 The interpreter operates somewhat like the Unix shell: when called with standard
input connected to a tty device, it reads and executes commands interactively; input connected to a tty device, it reads and executes commands interactively;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment