Skip to content

Commit c296107

Browse files
Apply suggestions from code review
Co-authored-by: Stan Ulbrych <[email protected]>
1 parent 8fe372a commit c296107

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Doc/library/ast.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2574,23 +2574,26 @@ The following options are accepted:
25742574

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

2577-
Python version in the format 3.x (e.g., 3.10).
2577+
Python version in the format 3.x (for example, 3.10).
25782578

25792579
.. versionadded:: next
25802580

2581+
25812582
.. option:: -o <level>
25822583
--optimize <level>
25832584

25842585
Optimization level for parser.
25852586

25862587
.. versionadded:: next
25872588

2589+
25882590
.. option:: --show-empty
25892591

25902592
Show empty lists and fields that are ``None``.
25912593

25922594
.. versionadded:: next
25932595

2596+
25942597
If :file:`infile` is specified its contents are parsed to AST and dumped
25952598
to stdout. Otherwise, the content is read from stdin.
25962599

0 commit comments

Comments
 (0)