From: Georg Brandl Date: Thu, 6 Sep 2007 14:49:02 +0000 (+0000) Subject: #1116: reference to old filename fixed. X-Git-Tag: v3.0a2~433 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=22291c500895077509916620a4a55bdae37cc51e;p=thirdparty%2FPython%2Fcpython.git #1116: reference to old filename fixed. --- diff --git a/Doc/extending/extending.rst b/Doc/extending/extending.rst index bf48c497aab3..74d3f287e5bc 100644 --- a/Doc/extending/extending.rst +++ b/Doc/extending/extending.rst @@ -418,7 +418,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