We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52deabe commit 1a89991Copy full SHA for 1a89991
Doc/library/ast.rst
@@ -2445,8 +2445,9 @@ and classes for traversing abstract syntax trees:
2445
indents that many spaces per level. If *indent* is a string (such as ``"\t"``),
2446
that string is used to indent each level.
2447
2448
- If *show_empty* is ``False`` (the default), empty lists and fields that are ``None``
2449
- will be omitted from the output.
+ If *show_empty* is false (the default), optional empty lists will be
+ omitted from the output.
2450
+ Optional ``None`` values are always omitted.
2451
2452
.. versionchanged:: 3.9
2453
Added the *indent* option.
0 commit comments