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