Files
parso/test/normalizer_issue_files/allowed_syntax_python3.5.py
2017-07-21 17:23:25 +02:00

26 lines
323 B
Python

"""
Mostly allowed syntax in Python 3.5.
"""
async def foo():
yield 1
await bar()
#: E901
yield from []
return
#: E901
return ''
# With decorator it's a different statement.
@bla
async def foo():
yield 1
await bar()
#: E901
yield from []
return
#: E901
return ''