mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
gh-108113: [docs] mention PyCF_OPTIMIZED_AST in ast Compiler Flags (#113241)
This commit is contained in:
parent
70d378cdaa
commit
59f0766ae5
1 changed files with 7 additions and 0 deletions
|
@ -2457,6 +2457,13 @@ effects on the compilation of a program:
|
|||
Generates and returns an abstract syntax tree instead of returning a
|
||||
compiled code object.
|
||||
|
||||
.. data:: PyCF_OPTIMIZED_AST
|
||||
|
||||
The returned AST is optimized according to the *optimize* argument
|
||||
in :func:`compile` or :func:`ast.parse`.
|
||||
|
||||
.. versionadded:: 3.13
|
||||
|
||||
.. data:: PyCF_TYPE_COMMENTS
|
||||
|
||||
Enables support for :pep:`484` and :pep:`526` style type comments
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue