mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-30 06:44:20 +07:00
extracted logic for "add element to statement list" into PyUtil reused in PyMoveAttributeToInitQuickFix and PyClassHasNoInitInspection reused AddMethodQuickFix in PyClassHasNoInitInspection
4 lines
134 B
Python
4 lines
134 B
Python
__author__ = 'ktisha'
|
|
class <weak_warning descr="Class has no __init__ method">A</weak_warning>:
|
|
def foo(self):
|
|
self.b = 1 |