mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Refactored extract method tests
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
class Foo(X, Y, Z):
|
||||
def bar(self, base_new):
|
||||
try: base_new.__init__(self)
|
||||
except AttributeError: pass
|
||||
|
||||
def __init__(self):
|
||||
for base in self__class__.__bases__:
|
||||
self.bar(base)
|
||||
Reference in New Issue
Block a user