8000 gh-133367: Add missing options to `ast` CLI by donBarbos · Pull Request #133369 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-133367: Add missing options to ast CLI #133369

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
May 5, 2025
Prev Previous commit
Update Doc/library/ast.rst
  • Loading branch information
sobolevn authored May 5, 2025
commit d6d9c22a92218dc0224a499419c64eeaf70ce9c5
2 changes: 1 addition & 1 deletion Doc/library/ast.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2152,7 +2152,7 @@
body of an :class:`AsyncFunctionDef`.

.. note::
When a string is parsed by :func:`ast.parse`, operator nodes (subclasses

Check warning on line 2155 in Doc/library/ast.rst

View workflow job for this annotation

GitHub Actions / Docs / Docs

py:class reference target not found: ast.operator [ref.class]

Check warning on line 2155 in Doc/library/ast.rst

View workflow job for this annotation

GitHub Actions / Docs / Docs

py:class reference target not found: ast.unaryop [ref.class]

Check warning on line 2155 in Doc/library/ast.rst

View workflow job for this annotation

GitHub Actions / Docs / Docs

py:class reference target not found: ast.cmpop [ref.class]

Check warning on line 2155 in Doc/library/ast.rst

View workflow job for this annotation

GitHub Actions / Docs / Docs

py:class reference target not found: ast.boolop [ref.class]

Check warning on line 2155 in Doc/library/ast.rst

View workflow job for this annotation

GitHub Actions / Docs / Docs

py:class reference target not found: ast.expr_context [ref.class]
of :class:`ast.operator`, :class:`ast.unaryop`, :class:`ast.cmpop`,
:class:`ast.boolop` and :class:`ast.expr_context`) on the returned tree
will be singletons. Changes to one will be reflected in all other
Expand Down Expand Up @@ -2588,7 +2588,7 @@

.. option:: --show-empty

Show empty lists and fields that are ``None``. Defaults to showing empty
Show empty lists and fields that are ``None``. Defaults to not showing empty
objects.

.. versionadded:: next
Expand Down
Loading
0