Skip to content

Commit 9963bde

Browse files
committed
fix doc - use start symbol instead of start token
1 parent 7e6ee50 commit 9963bde

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/c-api/veryhigh.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ the same library that the Python runtime is using.
183183
objects *globals* and *locals* with the compiler flags specified by
184184
*flags*. *globals* must be a dictionary; *locals* can be any object
185185
that implements the mapping protocol. The parameter *start* specifies
186-
the start token that should be used to parse the source code.
186+
the start symbol that should be used to parse the source code.
187187
188188
Returns the result of executing the code as a Python object, or ``NULL`` if an
189189
exception was raised.
@@ -231,7 +231,7 @@ the same library that the Python runtime is using.
231231
.. c:function:: PyObject* Py_CompileStringObject(const char *str, PyObject *filename, int start, PyCompilerFlags *flags, int optimize)
232232
233233
Parse and compile the Python source code in *str*, returning the resulting code
234-
object. The start token is given by *start*; this can be used to constrain the
234+
object. The start symbol is given by *start*; this can be used to constrain the
235235
code which can be compiled and should be :c:data:`Py_eval_input`,
236236
:c:data:`Py_file_input`, or :c:data:`Py_single_input`. The filename specified by
237237
*filename* is used to construct the code object and may appear in tracebacks or

0 commit comments

Comments
 (0)