From: Georg Brandl Date: Thu, 6 Sep 2007 14:49:56 +0000 (+0000) Subject: Backport from 3k: #1116: fix reference to old filename. X-Git-Tag: v2.6a1~1338 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ecabc37b08ffd4e270a08fae8a7ecdeeba343c56;p=python Backport from 3k: #1116: fix reference to old filename. --- diff --git a/Doc/extending/extending.rst b/Doc/extending/extending.rst index 4dff5b5d33..4a11d9723f 100644 --- a/Doc/extending/extending.rst +++ b/Doc/extending/extending.rst @@ -423,7 +423,7 @@ Fortunately, the Python interpreter is easily called recursively, and there is a standard interface to call a Python function. (I won't dwell on how to call the Python parser with a particular string as input --- if you're interested, have a look at the implementation of the :option:`-c` command line option in -:file:`Python/pythonmain.c` from the Python source code.) +:file:`Modules/main.c` from the Python source code.) Calling a Python function is easy. First, the Python program must somehow pass you the Python function object. You should provide a function (or some other