Handling of star_expr and some async issues.

This commit is contained in:
Dave Halter
2017-07-21 17:23:16 +02:00
parent 82d69ca211
commit 1df06025c2
3 changed files with 37 additions and 2 deletions

View File

@@ -8,6 +8,9 @@ async def foo():
await bar()
#: E901
yield from []
return
#: E901
return ''
# With decorator it's a different statement.
@@ -17,3 +20,6 @@ async def foo():
await bar()
#: E901
yield from []
return
#: E901
return ''