diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2018-04-08 19:18:04 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-08 19:18:04 +0300 |
commit | 46936d5a71d1683dbd8ddb6d7f39aab50ecfec50 (patch) | |
tree | 1f51e69c1fbb9401516478b8866d01f1513644cb /Doc/using/cmdline.rst | |
parent | 9265dd72e5ec1cfa5fcdb5be8ebffe1d9994bd4b (diff) | |
download | cpython-git-46936d5a71d1683dbd8ddb6d7f39aab50ecfec50.tar.gz |
Improve highlighting of some code blocks. (GH-6401)
Diffstat (limited to 'Doc/using/cmdline.rst')
-rw-r--r-- | Doc/using/cmdline.rst | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/Doc/using/cmdline.rst b/Doc/using/cmdline.rst index 21ba0b5ceb..e72dea9075 100644 --- a/Doc/using/cmdline.rst +++ b/Doc/using/cmdline.rst @@ -178,11 +178,15 @@ Generic options .. cmdoption:: -V --version - Print the Python version number and exit. Example output could be:: + Print the Python version number and exit. Example output could be: + + .. code-block:: none Python 3.6.0b2+ - When given twice, print more information about the build, like:: + When given twice, print more information about the build, like: + + .. code-block:: none Python 3.6.0b2+ (3.6:84a3c5003510+, Oct 26 2016, 02:33:55) [GCC 6.2.0 20161005] @@ -355,7 +359,9 @@ Miscellaneous options Warning control. Python's warning machinery by default prints warning messages to :data:`sys.stderr`. A typical warning message has the following - form:: + form: + + .. code-block:: none file:line: category: message |