Skip to content

Commit a6b9aaf

Browse files
authored
Apply suggestion from @ambv
1 parent ece522f commit a6b9aaf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/library/ast.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ Node classes
138138

139139
AST node constructors were changed to provide sensible defaults for omitted
140140
fields: optional fields now default to ``None``, list fields default to an
141-
empty list, and fields of type :class:`ast.expr_context` default to
141+
empty list, and fields of type :class:`!ast.expr_context` default to
142142
:class:`Load() <ast.Load>`. Previously, omitted attributes would not exist on constructed
143143
nodes (accessing them raised :exc:`AttributeError`).
144144

0 commit comments

Comments
 (0)