File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -348,8 +348,20 @@ the same library that the Python runtime is using.
348348 .. versionchanged :: 3.8
349349 Added *cf_feature_version * field.
350350
351+ The available compiler flags are accessible as macros:
351352
352- .. c :var :: int CO_FUTURE_DIVISION
353+ .. c :namespace :: NULL
353354
354- This bit can be set in *flags * to cause division operator ``/ `` to be
355- interpreted as "true division" according to :pep: `238 `.
355+ .. c :macro :: PyCF_ALLOW_TOP_LEVEL_AWAIT
356+ PyCF_ONLY_AST
357+ PyCF_OPTIMIZED_AST
358+ PyCF_TYPE_COMMENTS
359+
360+ See :ref: `compiler flags <ast-compiler-flags >` in documentation of the
361+ :py:mod: `!ast ` Python module, which exports these constants under
362+ the same names.
363+
364+ .. c :var :: int CO_FUTURE_DIVISION
365+
366+ This bit can be set in *flags * to cause division operator ``/ `` to be
367+ interpreted as "true division" according to :pep: `238 `.
You can’t perform that action at this time.
0 commit comments