mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-23 16:20:55 +07:00
I updated test data accordingly and removed now obsolete tests about skipping preceding comments.
11 lines
243 B
Python
11 lines
243 B
Python
class Foo(X, Y, Z):
|
|
def __init__(self):
|
|
for base in self__class__.__bases__:
|
|
self.bar(base)
|
|
|
|
def bar(self, base_new):
|
|
try:
|
|
base_new.__init__(self)
|
|
except AttributeError:
|
|
pass
|