Debian Codegraph @

tests/roots/test-ext-autodoc/target/methods.py

raw
1 from functools import partialmethod
2
3
4 class Base:
5 def meth(self):
6 pass
7
8 @staticmethod
9 def staticmeth():
10 pass
11
12 @classmethod
13 def classmeth(cls):
14 pass
15
16 @property
17 def prop(self):
18 pass
19
20 partialmeth = partialmethod(meth)
21
22 async def coroutinemeth(self):
23 pass
24
25 partial_coroutinemeth = partialmethod(coroutinemeth)
26
27
28 class Inherited(Base):
29 pass