mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
18 lines
197 B
Python
18 lines
197 B
Python
class B1:
|
|
def f(self, x):
|
|
return x + self.y
|
|
|
|
class B2(object):
|
|
@staticmethod
|
|
def g(x):
|
|
return x
|
|
|
|
class C(B1, B2):
|
|
pass
|
|
|
|
class D1(C):
|
|
pass
|
|
|
|
class D2(C):
|
|
pass
|