Files
openide/python/testData/quickFixes/PyAddMethodQuickFixTest/addAsyncMethodFromInstance.py
Petr Golubev 05484d8f97 PY-53120 "Add method" action does not create async def
GitOrigin-RevId: 8b2286a3f50d7b0d00ebbb0befc9811a80f7b304
2024-01-19 20:06:59 +00:00

8 lines
179 B
Python

class A:
def __init__(self):
self.x = 1
async def f():
a = A()
await a.<caret><warning descr="Unresolved attribute reference 'y' for class 'A'">y</warning>()