cpython/Misc/NEWS.d/next/Core and Builtins/2023-05-31-08-10-59.gh-issu...

5 lines
252 B
ReStructuredText

Attributes of :mod:`ast` nodes that are lists now default to the empty list
if omitted. This means that some code that previously raised
:exc:`TypeError` when the AST node was used will now proceed with the empty
list instead. Patch by Jelle Zijlstra.