We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50f3fef commit fba4e42Copy full SHA for fba4e42
Doc/c-api/veryhigh.rst
@@ -379,12 +379,13 @@ Available start symbols
379
.. index:: single: Py_CompileString (C function)
380
381
The start symbol from the Python grammar for a function type; for use with
382
- :c:func:`Py_CompileString`. This is used for parsing function ``# type:``
383
- comments.
+ :c:func:`Py_CompileString`. This is used to parse "signature type comments"
+ from :pep:`484`.
384
385
This requires the :c:macro:`PyCF_ONLY_AST` flag to be set.
386
387
.. seealso::
388
:py:class:`ast.FunctionType`
389
+ :pep:`484`
390
391
.. versionadded:: 3.8
0 commit comments