mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-15 02:59:33 +07:00
12 lines
210 B
Python
12 lines
210 B
Python
from abc import abstractmethod
|
|
class A1(object):
|
|
def __init__(self):
|
|
self.a = "Something"
|
|
|
|
@abstractmethod
|
|
def my_method(self):
|
|
print self.a
|
|
|
|
class B(A1):
|
|
def __iter__(self): pass
|