mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-08 10:58:45 +07:00
16 lines
298 B
Python
16 lines
298 B
Python
from abc import object, ABCMeta, abstractmethod
|
|
|
|
|
|
class Parent(object, metaclass=ABCMeta):
|
|
@abstractmethod
|
|
def my_method(self, foo):
|
|
"""
|
|
Eats eggs
|
|
:param foo: eggs
|
|
"""
|
|
pass
|
|
|
|
@classmethod
|
|
@abstractmethod
|
|
def my_class_method():
|
|
pass |