[Python-checkins] cpython (2.7): Fix the highlight in another example.

ezio.melotti python-checkins at python.org
Fri Feb 22 06:53:46 CET 2013


http://hg.python.org/cpython/rev/3213fe4a72e0
changeset:   82317:3213fe4a72e0
branch:      2.7
parent:      82313:ad55dc7de7fc
user:        Ezio Melotti <ezio.melotti at gmail.com>
date:        Fri Feb 22 07:53:23 2013 +0200
summary:
  Fix the highlight in another example.

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


diff --git a/Doc/extending/embedding.rst b/Doc/extending/embedding.rst
--- a/Doc/extending/embedding.rst
+++ b/Doc/extending/embedding.rst
@@ -140,7 +140,9 @@
 This code loads a Python script using ``argv[1]``, and calls the function named
 in ``argv[2]``.  Its integer arguments are the other values of the ``argv``
 array.  If you compile and link this program (let's call the finished executable
-:program:`call`), and use it to execute a Python script, such as::
+:program:`call`), and use it to execute a Python script, such as:
+
+.. code-block:: python
 
    def multiply(a,b):
        print "Will compute", a, "times", b

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


More information about the Python-checkins mailing list