AZ
Size: a a a
AZ
p
DI
@w @(x @y) @(z)
def f():
pass
p
NK
A
@w @(x @y) @(z)
def f():
pass
DA
SM
@w @(x @y) @(z)
def f():
pass
decorator: '@' namedexpr_test NEWLINE
SM
SM
SM
### [decorators] 'def' NAME parameters ['->' test] ':' suite
### decorator: '@' namedexpr_test NEWLINE
### decorators: decorator+
DA
DA
DA
DA
SM
SM
namedexpr_test: test [':=' test]
test: or_test ['if' or_test 'else' test] | lambdef
test_nocond: or_test | lambdef_nocond
lambdef: 'lambda' [varargslist] ':' test
lambdef_nocond: 'lambda' [varargslist] ':' test_nocond
or_test: and_test ('or' and_test)*
and_test: not_test ('and' not_test)*
not_test: 'not' not_test | comparison
comparison: expr (comp_op expr)*
SM
SM