Skip to content

Commit 7a0ddfd

Browse files
committed
Fix examples in the ast module docs (run by doctest).
1 parent 4b352dc commit 7a0ddfd

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

Doc/library/ast.rst

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1113,7 +1113,8 @@ Imports
11131113
names=[
11141114
alias(name='x'),
11151115
alias(name='y'),
1116-
alias(name='z')])])
1116+
alias(name='z')],
1117+
is_lazy=0)])
11171118

11181119

11191120
.. class:: ImportFrom(module, names, level)
@@ -1134,7 +1135,8 @@ Imports
11341135
alias(name='x'),
11351136
alias(name='y'),
11361137
alias(name='z')],
1137-
level=0)])
1138+
level=0,
1139+
is_lazy=0)])
11381140

11391141

11401142
.. class:: alias(name, asname)
@@ -1152,7 +1154,8 @@ Imports
11521154
names=[
11531155
alias(name='a', asname='b'),
11541156
alias(name='c')],
1155-
level=2)])
1157+
level=2,
1158+
is_lazy=0)])
11561159

11571160
Control flow
11581161
^^^^^^^^^^^^

0 commit comments

Comments
 (0)