mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-18 12:31:26 +07:00
16 lines
181 B
Python
16 lines
181 B
Python
__author__ = 'ktisha'
|
|
|
|
class A:
|
|
def __init__(self):
|
|
self._a = 1
|
|
|
|
def foo(self):
|
|
self.b= 1
|
|
|
|
class B(A):
|
|
def __init__(self):
|
|
A.__init__(self)
|
|
self.b = self._a
|
|
|
|
|