mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-20 04:08:32 +07:00
extracted logic for "add element to statement list" into PyUtil reused in PyMoveAttributeToInitQuickFix and PyClassHasNoInitInspection reused AddMethodQuickFix in PyClassHasNoInitInspection
7 lines
150 B
Python
7 lines
150 B
Python
class A:
|
|
def __init__(self):
|
|
self.x = 1
|
|
|
|
a = A()
|
|
a.<caret><warning descr="Unresolved attribute reference 'y' for class 'A'">y</warning>()
|