diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2018-04-08 16:18:04 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-08 16:18:04 (GMT) |
commit | 46936d5a71d1683dbd8ddb6d7f39aab50ecfec50 (patch) | |
tree | 1f51e69c1fbb9401516478b8866d01f1513644cb /Doc/library/tokenize.rst | |
parent | 9265dd72e5ec1cfa5fcdb5be8ebffe1d9994bd4b (diff) | |
download | cpython-46936d5a71d1683dbd8ddb6d7f39aab50ecfec50.zip cpython-46936d5a71d1683dbd8ddb6d7f39aab50ecfec50.tar.gz cpython-46936d5a71d1683dbd8ddb6d7f39aab50ecfec50.tar.bz2 |
Improve highlighting of some code blocks. (GH-6401)
Diffstat (limited to 'Doc/library/tokenize.rst')
-rw-r--r-- | Doc/library/tokenize.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/tokenize.rst b/Doc/library/tokenize.rst index 02a0428..4c0a0ce 100644 --- a/Doc/library/tokenize.rst +++ b/Doc/library/tokenize.rst @@ -218,7 +218,7 @@ will be tokenized to the following output where the first column is the range of the line/column coordinates where the token is found, the second column is the name of the token, and the final column is the value of the token (if any) -.. code-block:: sh +.. code-block:: shell-session $ python -m tokenize hello.py 0,0-0,0: ENCODING 'utf-8' @@ -244,7 +244,7 @@ the name of the token, and the final column is the value of the token (if any) The exact token type names can be displayed using the :option:`-e` option: -.. code-block:: sh +.. code-block:: shell-session $ python -m tokenize -e hello.py 0,0-0,0: ENCODING 'utf-8' |