[docs] [issue26462] Patch to enhance literal block language declaration

Martin Panter report at bugs.python.org
Thu Jul 28 07:13:27 EDT 2016


Martin Panter added the comment:

One last change I think needs making to the same demo, the “code-block” needs indenting under the bullet point:

* The interpreter can now be started with a quiet option, ``-q``, to prevent
  the copyright and version information from being displayed in the interactive
  mode.  The option can be introspected using the :attr:`sys.flags` attribute:
  
  .. code-block:: shell-session  <== Indented
     
    $ python -q

Otherwise, it seems to include extra text in the code block.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26462>
_______________________________________


More information about the docs mailing list