From: Ezio Melotti Date: Fri, 22 Feb 2013 05:53:23 +0000 (+0200) Subject: Fix the highlight in another example. X-Git-Tag: v2.7.4rc1~88 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=43b09d49b61e1f66177d10b6589678b0472599c1;p=thirdparty%2FPython%2Fcpython.git Fix the highlight in another example. --- diff --git a/Doc/extending/embedding.rst b/Doc/extending/embedding.rst index 44beabf16402..ae5efc408762 100644 --- a/Doc/extending/embedding.rst +++ b/Doc/extending/embedding.rst @@ -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