mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-28 02:04:23 +07:00
GitOrigin-RevId: 0f24072270482a4d221a7eab6b3f0d6de19c0e35
12 lines
130 B
Python
12 lines
130 B
Python
class A():
|
|
def method(self):
|
|
print(1)
|
|
|
|
|
|
class B(A):
|
|
def method(self):
|
|
print(2)
|
|
|
|
|
|
a = A()
|
|
a.meth<caret>od() |