Make goto work with await

Created together with @langsamer and @davidhalter
This commit is contained in:
Robin Roth
2017-10-28 13:34:25 +02:00
committed by Dave Halter
parent 752b7d8d49
commit 88cf592c95
4 changed files with 19 additions and 1 deletions

View File

@@ -23,3 +23,14 @@ async def x2():
async with open('asdf') as f:
#? ['readlines']
f.readlines
class A():
@staticmethod
async def b(c=1, d=2):
return 1
#! 9 ['def b']
await A.b()
#! 11 ['param d=2']
await A.b(d=3)