diff options
author | Georg Brandl <georg@python.org> | 2007-09-06 14:49:56 +0000 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2007-09-06 14:49:56 +0000 |
commit | ecabc37b08ffd4e270a08fae8a7ecdeeba343c56 (patch) | |
tree | 20a7f5a9fe19db10fbd632cf220d88a26c0490df | |
parent | 337841dac7f1936c78bacf60c88e085e7ca6231d (diff) | |
download | cpython-git-ecabc37b08ffd4e270a08fae8a7ecdeeba343c56.tar.gz |
Backport from 3k: #1116: fix reference to old filename.
-rw-r--r-- | Doc/extending/extending.rst | 2 |
1 files changed, 1 insertions, 1 deletions
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 |