mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
30 lines
428 B
Python
30 lines
428 B
Python
|
from abc import abstractmethod
|
||
|
|
||
|
|
||
|
class Base():
|
||
|
def meth(self):
|
||
|
pass
|
||
|
|
||
|
@abstractmethod
|
||
|
def abstractmeth(self):
|
||
|
pass
|
||
|
|
||
|
@staticmethod
|
||
|
@abstractmethod
|
||
|
def staticmeth():
|
||
|
pass
|
||
|
|
||
|
@classmethod
|
||
|
@abstractmethod
|
||
|
def classmeth(cls):
|
||
|
pass
|
||
|
|
||
|
@property
|
||
|
@abstractmethod
|
||
|
def prop(self):
|
||
|
pass
|
||
|
|
||
|
@abstractmethod
|
||
|
async def coroutinemeth(self):
|
||
|
pass
|