Skip to content
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