summaryrefslogtreecommitdiff
path: root/sphinx/directives/desc.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-02-20 10:42:50 +0100
committerGeorg Brandl <georg@python.org>2009-02-20 10:42:50 +0100
commitdb8f42841428f69a89fce64b6f595feb1fcf80a7 (patch)
tree0e751f6a4149d24fd73222544e28d09c99b02874 /sphinx/directives/desc.py
parent8f820c97aebf8e7076fc5613445001194102599c (diff)
downloadsphinx-git-db8f42841428f69a89fce64b6f595feb1fcf80a7.tar.gz
Fix wrong attribute name.
Diffstat (limited to 'sphinx/directives/desc.py')
-rw-r--r--sphinx/directives/desc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/directives/desc.py b/sphinx/directives/desc.py
index 1ea973a39..60b43a5d9 100644
--- a/sphinx/directives/desc.py
+++ b/sphinx/directives/desc.py
@@ -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':