Files
openide/python/testData/quickFixes/PyAddMethodQuickFixTest/addAsyncMethodFromMethod.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

12 lines
226 B
Python

class A:
def __init__(self):
self.x = 1
async def foo(self, a):
await self.<caret><warning descr="Unresolved attribute reference 'y' for class 'A'">y</warning>(1, a)
# Some comment
class B:
pass