sphinx/tests/roots/test-ext-autodoc/target/inheritance.py
2019-07-01 00:28:30 +09:00

18 lines
357 B
Python

class Base(object):
def inheritedmeth(self):
"""Inherited function."""
@classmethod
def inheritedclassmeth(cls):
"""Inherited class method."""
@staticmethod
def inheritedstaticmeth(cls):
"""Inherited static method."""
class Derived(Base):
def inheritedmeth(self):
# no docstring here
pass