diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2015-09-12 14:45:25 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2015-09-12 14:45:25 (GMT) |
commit | 0424eaf7533b0f386f6038dbb99f89e30fbbff76 (patch) | |
tree | 8319fe88ab1424714e8346aba8885075ed39b77a /Doc/whatsnew/2.5.rst | |
parent | 06171bd52a02173910d7ab8082850bbed0db1410 (diff) | |
download | cpython-0424eaf7533b0f386f6038dbb99f89e30fbbff76.zip cpython-0424eaf7533b0f386f6038dbb99f89e30fbbff76.tar.gz cpython-0424eaf7533b0f386f6038dbb99f89e30fbbff76.tar.bz2 |
Marked keystrokes with the :kbd: role.
Fixed the case of the "Ctrl-" prefixes.
Diffstat (limited to 'Doc/whatsnew/2.5.rst')
-rw-r--r-- | Doc/whatsnew/2.5.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/whatsnew/2.5.rst b/Doc/whatsnew/2.5.rst index f8f7ca0..cb92e08 100644 --- a/Doc/whatsnew/2.5.rst +++ b/Doc/whatsnew/2.5.rst @@ -827,7 +827,7 @@ inheritance relationships are:: This rearrangement was done because people often want to catch all exceptions that indicate program errors. :exc:`KeyboardInterrupt` and :exc:`SystemExit` aren't errors, though, and usually represent an explicit action such as the user -hitting Control-C or code calling :func:`sys.exit`. A bare ``except:`` will +hitting :kbd:`Control-C` or code calling :func:`sys.exit`. A bare ``except:`` will catch all exceptions, so you commonly need to list :exc:`KeyboardInterrupt` and :exc:`SystemExit` in order to re-raise them. The usual pattern is:: |