Kaydet (Commit) 1b28088f authored tarafından R David Murray's avatar R David Murray

Merge #20874 fix.

...@@ -35,15 +35,14 @@ Windows) at the primary prompt causes the interpreter to exit with a zero exit ...@@ -35,15 +35,14 @@ Windows) at the primary prompt causes the interpreter to exit with a zero exit
status. If that doesn't work, you can exit the interpreter by typing the 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 usually aren't very sophisticated. On The interpreter's line-editing features include interactive editing, history
Unix, whoever installed the interpreter may have enabled support for the GNU substitution and code completion on systems that support readline. Perhaps the
readline library, which adds more elaborate interactive editing and history quickest check to see whether command line editing is supported is typing
features. Perhaps the quickest check to see whether command line editing is Control-P to the first Python prompt you get. If it beeps, you have command
supported is typing Control-P to the first Python prompt you get. If it beeps, line editing; see Appendix :ref:`tut-interacting` for an introduction to the
you have command line editing; see Appendix :ref:`tut-interacting` for an keys. If nothing appears to happen, or if ``^P`` is echoed, command line
introduction to the keys. If nothing appears to happen, or if ``^P`` is echoed, editing isn't available; you'll only be able to use backspace to remove
command line editing isn't available; you'll only be able to use backspace to characters from the current line.
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