[Python-checkins] cpython (2.7): Fix wrong Python highlighting in directory hierarchy code block.

georg.brandl python-checkins at python.org
Sun Oct 6 11:08:11 CEST 2013


http://hg.python.org/cpython/rev/2e1c39456219
changeset:   86036:2e1c39456219
branch:      2.7
user:        Georg Brandl <georg at python.org>
date:        Sun Oct 06 11:08:24 2013 +0200
summary:
  Fix wrong Python highlighting in directory hierarchy code block.

files:
  Doc/tutorial/modules.rst |  4 +++-
  1 files changed, 3 insertions(+), 1 deletions(-)


diff --git a/Doc/tutorial/modules.rst b/Doc/tutorial/modules.rst
--- a/Doc/tutorial/modules.rst
+++ b/Doc/tutorial/modules.rst
@@ -368,7 +368,9 @@
 (such as mixing, adding echo, applying an equalizer function, creating an
 artificial stereo effect), so in addition you will be writing a never-ending
 stream of modules to perform these operations.  Here's a possible structure for
-your package (expressed in terms of a hierarchical filesystem)::
+your package (expressed in terms of a hierarchical filesystem):
+
+.. code-block:: text
 
    sound/                          Top-level package
          __init__.py               Initialize the sound package

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list