Sign in
android
/
platform
/
external
/
python
/
pylint
/
612950b6eae36a543f4645d743f5fd02839c9788
/
.
/
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
])