tests/roots/test-ext-autodoc/target/abstractmethods.py
raw| 1 | from abc import abstractmethod |
| 2 | |
| 3 | |
| 4 | class Base: |
| 5 | def meth(self): |
| 6 | pass |
| 7 | |
| 8 | @abstractmethod |
| 9 | def abstractmeth(self): |
| 10 | pass |
| 11 | |
| 12 | @staticmethod |
| 13 | @abstractmethod |
| 14 | def staticmeth(): |
| 15 | pass |
| 16 | |
| 17 | @classmethod |
| 18 | @abstractmethod |
| 19 | def classmeth(cls): |
| 20 | pass |
| 21 | |
| 22 | @property |
| 23 | @abstractmethod |
| 24 | def prop(self): |
| 25 | pass |
| 26 | |
| 27 | @abstractmethod |
| 28 | async def coroutinemeth(self): |
| 29 | pass |