Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 9 additions & 14 deletions Doc/c-api/veryhigh.rst
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -333,8 +333,6 @@ the same library that the Python runtime is using.
equal to ``0``, and any modification due to ``from __future__ import`` is equal to ``0``, and any modification due to ``from __future__ import`` is
discarded. discarded.


The available :ref:`compiler flags <ast-compiler-flags>` are accessible as macros.

.. c:member:: int cf_flags .. c:member:: int cf_flags


Compiler flags. Compiler flags.
Expand All @@ -350,21 +348,18 @@ the same library that the Python runtime is using.
.. versionchanged:: 3.8 .. versionchanged:: 3.8
Added *cf_feature_version* field. Added *cf_feature_version* field.


.. c:macro:: PyCF_ALLOW_TOP_LEVEL_AWAIT The available compiler flags are accessible as macros:

Equivalent to :data:`ast.PyCF_ALLOW_TOP_LEVEL_AWAIT`.

.. c:macro:: PyCF_ONLY_AST


Equivalent to :data:`ast.PyCF_ONLY_AST`. .. c:namespace:: NULL


.. c:macro:: PyCF_OPTIMIZED_AST .. c:macro:: PyCF_ALLOW_TOP_LEVEL_AWAIT

PyCF_ONLY_AST
Equivalent to :data:`ast.PyCF_OPTIMIZED_AST`. PyCF_OPTIMIZED_AST

PyCF_TYPE_COMMENTS
.. c:macro:: PyCF_TYPE_COMMENTS


Equivalent to :data:`ast.PyCF_TYPE_COMMENTS`. See :ref:`compiler flags <ast-compiler-flags>` in documentation of the
:py:mod:`!ast` Python module, which exports these constants under
the same names.


.. c:var:: int CO_FUTURE_DIVISION .. c:var:: int CO_FUTURE_DIVISION


Expand Down
Loading