mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
13 lines
180 B
Python
13 lines
180 B
Python
__metaclass__ = type
|
|
|
|
class A:
|
|
def foo(self):
|
|
print "foo"
|
|
|
|
class B(A):
|
|
def foo(self):
|
|
super(B, self).foo()
|
|
# <ref>
|
|
|
|
B().foo()
|