Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions Doc/library/ast.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2445,8 +2445,9 @@ and classes for traversing abstract syntax trees:
indents that many spaces per level. If *indent* is a string (such as ``"\t"``),
that string is used to indent each level.

If *show_empty* is ``False`` (the default), empty lists and fields that are ``None``
will be omitted from the output.
Unless *show_empty* is true, optional empty lists will be
omitted from the output.
Optional ``None`` values are always omitted.

.. versionchanged:: 3.9
Added the *indent* option.
Expand Down
Loading