Fix wrong attribute name.

This commit is contained in:
Georg Brandl 2009-02-20 10:42:50 +01:00
parent 8f820c97ae
commit db8f428414

View File

@ -456,7 +456,7 @@ class ClassmemberDesc(PythonDesc):
""" """
def needs_arglist(self): def needs_arglist(self):
return self.argtype.endswith('method') return self.desctype.endswith('method')
def get_signature_prefix(self, sig): def get_signature_prefix(self, sig):
if self.desctype == 'staticmethod': if self.desctype == 'staticmethod':