Fix #4415: autodoc classifies inherited classmethods as regular methods

This commit is contained in:
Takeshi KOMIYA
2018-01-19 09:47:22 +09:00
parent a9f949e858
commit cbb10d61f7
5 changed files with 26 additions and 2 deletions

View File

@@ -64,6 +64,10 @@ class Base(object):
def inheritedmeth(self):
"""Inherited function."""
@classmethod
def inheritedclassmeth(cls):
"""Inherited class method."""
class Derived(Base):
def inheritedmeth(self):