mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix wrong attribute name.
This commit is contained in:
parent
8f820c97ae
commit
db8f428414
@ -456,7 +456,7 @@ class ClassmemberDesc(PythonDesc):
|
||||
"""
|
||||
|
||||
def needs_arglist(self):
|
||||
return self.argtype.endswith('method')
|
||||
return self.desctype.endswith('method')
|
||||
|
||||
def get_signature_prefix(self, sig):
|
||||
if self.desctype == 'staticmethod':
|
||||
|
Loading…
Reference in New Issue
Block a user