Skip to content

Commit 01418fb

Browse files
Update doc reference to calling parser with string input
Instead of referring to `main.c` in the source code, reference the newer documentation "The Very High Level Layer" Co-authored-by: Stan Ulbrych <stan@python.org>
1 parent 6300ea7 commit 01418fb

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

Doc/extending/extending.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -232,9 +232,7 @@ imaginable.
232232

233233
Fortunately, the Python interpreter is easily called recursively, and there is a
234234
standard interface to call a Python function. (If you're interested in how to call the
235-
Python parser with a particular string as input, have a look at the implementation of
236-
the :option:`-c` command line option in :file:`Modules/main.c` from the Python source
237-
code.)
235+
Python parser with a particular string as input, see :ref:`veryhigh`.)
238236

239237
Calling a Python function is easy. First, the Python program must somehow pass
240238
you the Python function object. You should provide a function (or some other

0 commit comments

Comments
 (0)