mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-06 04:11:31 +07:00
18 lines
271 B
Python
18 lines
271 B
Python
class A:
|
|
@classmethod
|
|
def test(cls, x, y):
|
|
return None
|
|
|
|
|
|
class B(A):
|
|
@classmethod
|
|
def test(cls, x, y):
|
|
if x == 1:
|
|
print(y)
|
|
if x == y:
|
|
return 1
|
|
raise NotImplementedError
|
|
|
|
|
|
class C(B):
|
|
pass |