mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-21 20:54:49 +07:00
13 lines
215 B
Python
13 lines
215 B
Python
class A:
|
|
def __init__(self, a, b):
|
|
self.a = a
|
|
self.b = b
|
|
|
|
class B(A):
|
|
def __init__(self, a, b):
|
|
A.__init__(self, a, b)
|
|
self.x = None
|
|
|
|
def foo(self):
|
|
return self.x
|