summaryrefslogtreecommitdiff
path: root/test/input/func_yield_outside_func.py
blob: c1ea3bdae24646fb57bab3dde83f00856011c883 (plain)
1
2
3
4
5
"""This is gramatically correct, but it's still a SyntaxError"""
__revision__ = None
yield 1

LAMBDA_WITH_YIELD = lambda: (yield)