]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix the highlight in another example.
authorEzio Melotti <ezio.melotti@gmail.com>
Fri, 22 Feb 2013 05:53:23 +0000 (07:53 +0200)
committerEzio Melotti <ezio.melotti@gmail.com>
Fri, 22 Feb 2013 05:53:23 +0000 (07:53 +0200)
Doc/extending/embedding.rst

index 44beabf16402bbde5774e577ec4c70751511c308..ae5efc408762f9b31bc975f4e3e197b117a5c9c7 100644 (file)
@@ -140,7 +140,9 @@ The code to run a function defined in a Python script is:
 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