You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was advised to use function PyRun_String to retrieve information on complex Python constructs from C.
The doc at https://docs.python.org/3/c-api/veryhigh.html refers from PyRun_String to PyRun_StringFlags , where I am told "The parameter start specifies the start token that should be used to parse the source code."
What is a "start token" please?
The text was updated successfully, but these errors were encountered:
Quoting the introduction at the top of the page you linked to:
Several of these functions accept a start symbol from the grammar as a parameter. The available start symbols are Py_eval_input, Py_file_input, and Py_single_input. These are described following the functions which accept them as parameters.
It does say start symbols, not start tokens, though.
Further down on the page (I just grepped the page for "start token"), you find this:
Documentation
I was advised to use function
PyRun_String
to retrieve information on complex Python constructs from C.The doc at https://docs.python.org/3/c-api/veryhigh.html refers from
PyRun_String
toPyRun_StringFlags
, where I am told "The parameter start specifies the start token that should be used to parse the source code."What is a "start token" please?
The text was updated successfully, but these errors were encountered: