mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix #4415: autodoc classifies inherited classmethods as regular methods
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user