gh-108113: [docs] mention PyCF_OPTIMIZED_AST in ast Compiler Flags (#113241)

This commit is contained in:
dreamflow 2023-12-18 17:14:15 +01:00 committed by GitHub
parent 70d378cdaa
commit 59f0766ae5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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