From ecabc37b08ffd4e270a08fae8a7ecdeeba343c56 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Thu, 6 Sep 2007 14:49:56 +0000 Subject: [PATCH] Backport from 3k: #1116: fix reference to old filename. --- Doc/extending/extending.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.50.0