diff options
author | Martin Panter <vadmium+py@gmail.com> | 2016-07-26 09:18:21 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2016-07-26 09:18:21 (GMT) |
commit | 8f1dd224e002f93b67821a7a55db35152928d6da (patch) | |
tree | 54375f97e0184992fd173d730515a0ba81f2720c /Doc/tutorial/modules.rst | |
parent | cc8929b8cd608fa4535747499de9800b70c1b8f4 (diff) | |
download | cpython-8f1dd224e002f93b67821a7a55db35152928d6da.zip cpython-8f1dd224e002f93b67821a7a55db35152928d6da.tar.gz cpython-8f1dd224e002f93b67821a7a55db35152928d6da.tar.bz2 |
Issue #26462: Doc: avoid literal_block warnings, fix syntax highlighting.
Patch by Julien Palard.
Diffstat (limited to 'Doc/tutorial/modules.rst')
-rw-r--r-- | Doc/tutorial/modules.rst | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/tutorial/modules.rst b/Doc/tutorial/modules.rst index 7b6fd9c..0ef07a3 100644 --- a/Doc/tutorial/modules.rst +++ b/Doc/tutorial/modules.rst @@ -135,7 +135,9 @@ the end of your module:: you can make the file usable as a script as well as an importable module, because the code that parses the command line only runs if the module is -executed as the "main" file:: +executed as the "main" file: + +.. code-block:: shell-session $ python fibo.py 50 1 1 2 3 5 8 13 21 34 |