Sign in
fuchsia
/
third_party
/
github.com
/
pycqa
/
pylint
/
refs/heads/master
/
.
/
tests
/
functional
/
y
/
yield_from_outside_func.py
blob: e2db90c942e4507f2d2c8d9069570506e95a9f73 [
file
] [
log
] [
blame
]
"""This is gramatically correct, but it's still a SyntaxError"""
yield
from
[
1
,
2
]
# [yield-outside-function]
LAMBDA_WITH_YIELD
=
lambda
:
(
yield
from
[
1
,
2
])