Skip to content
Prev Previous commit
Next Next commit
Apply suggestions from code review
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
  • Loading branch information
donbarbos and StanFromIreland authored May 4, 2025
commit c29610744f71a23684c701613acaa016b1b559eb
5 changes: 4 additions & 1 deletion Doc/library/ast.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2574,23 +2574,26 @@ The following options are accepted:

.. option:: --feature-version <version>

Python version in the format 3.x (e.g., 3.10).
Python version in the format 3.x (for example, 3.10).
Comment thread
donbarbos marked this conversation as resolved.
Outdated

.. versionadded:: next


.. option:: -o <level>
--optimize <level>

Optimization level for parser.
Comment thread
donbarbos marked this conversation as resolved.
Outdated

.. versionadded:: next


.. option:: --show-empty
Comment thread
donbarbos marked this conversation as resolved.

Show empty lists and fields that are ``None``.
Comment thread
donbarbos marked this conversation as resolved.
Outdated

.. versionadded:: next


If :file:`infile` is specified its contents are parsed to AST and dumped
Comment thread
donbarbos marked this conversation as resolved.
to stdout. Otherwise, the content is read from stdin.

Expand Down
Loading