mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
Marked keystrokes with the :kbd: role.
Fixed the case of the "Ctrl-" prefixes.
This commit is contained in:
parent
06171bd52a
commit
0424eaf753
19 changed files with 32 additions and 32 deletions
|
@ -25,7 +25,7 @@ some cases of running out of memory. All error messages are written to the
|
|||
standard error stream; normal output from executed commands is written to
|
||||
standard output.
|
||||
|
||||
Typing the interrupt character (usually Control-C or DEL) to the primary or
|
||||
Typing the interrupt character (usually :kbd:`Control-C` or :kbd:`Delete`) to the primary or
|
||||
secondary prompt cancels the input and returns to the primary prompt. [#]_
|
||||
Typing an interrupt while a command is executing raises the
|
||||
:exc:`KeyboardInterrupt` exception, which may be handled by a :keyword:`try`
|
||||
|
|
|
@ -38,7 +38,7 @@ 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
|
||||
Control-P to the first Python prompt you get. If it beeps, you have command
|
||||
: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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue