Skip to content

Commit 3072e63

Browse files
soolabettuezio-melotti
authored andcommitted
issue271: 26.3. Abstract Syntax Trees (AST) - yield expression should be optional. (python#272)
1 parent 6141eee commit 3072e63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ approach and syntax::
9797
{
9898
stmt = FunctionDef(identifier name, arguments args, stmt* body,
9999
expr* decorators)
100-
| Return(expr? value) | Yield(expr value)
100+
| Return(expr? value) | Yield(expr? value)
101101
attributes (int lineno)
102102
}
103103

0 commit comments

Comments
 (0)