summaryrefslogtreecommitdiffstats
path: root/Doc/tutorial
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-09-12 14:46:20 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2015-09-12 14:46:20 (GMT)
commit153627c111d755ad45c4699755fd64d89ac2eb66 (patch)
tree526064c08fe4a5e69227dbca070e319161bc5fab /Doc/tutorial
parent9ab96946eef86d2fc0e54262ee7c44f3d5dc3d39 (diff)
parent0424eaf7533b0f386f6038dbb99f89e30fbbff76 (diff)
downloadcpython-153627c111d755ad45c4699755fd64d89ac2eb66.zip
cpython-153627c111d755ad45c4699755fd64d89ac2eb66.tar.gz
cpython-153627c111d755ad45c4699755fd64d89ac2eb66.tar.bz2
Marked keystrokes with the :kbd: role.
Fixed the case of the "Ctrl-" prefixes.
Diffstat (limited to 'Doc/tutorial')
-rw-r--r--Doc/tutorial/appendix.rst2
-rw-r--r--Doc/tutorial/interpreter.rst2
2 files changed, 2 insertions, 2 deletions
diff --git a/Doc/tutorial/appendix.rst b/Doc/tutorial/appendix.rst
index 67262a1..e04459b 100644
--- a/Doc/tutorial/appendix.rst
+++ b/Doc/tutorial/appendix.rst
@@ -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`
diff --git a/Doc/tutorial/interpreter.rst b/Doc/tutorial/interpreter.rst
index d5789a6..e966085 100644
--- a/Doc/tutorial/interpreter.rst
+++ b/Doc/tutorial/interpreter.rst
@@ -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