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 681856c commit 7c5a1eaCopy full SHA for 7c5a1ea
Doc/library/ast.rst
@@ -2440,8 +2440,9 @@ and classes for traversing abstract syntax trees:
2440
indents that many spaces per level. If *indent* is a string (such as ``"\t"``),
2441
that string is used to indent each level.
2442
2443
- If *show_empty* is ``False`` (the default), empty lists and fields that are ``None``
2444
- will be omitted from the output.
+ If *show_empty* is false (the default), optional empty lists will be
+ omitted from the output.
2445
+ Optional ``None`` values are always omitted.
2446
2447
.. versionchanged:: 3.9
2448
Added the *indent* option.
0 commit comments