diff options
Diffstat (limited to 'astroid/arguments.py')
-rw-r--r-- | astroid/arguments.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/astroid/arguments.py b/astroid/arguments.py index e80f5f40..ab841a9c 100644 --- a/astroid/arguments.py +++ b/astroid/arguments.py @@ -183,12 +183,12 @@ class CallSite(object): else: # XXX can do better ? boundnode = funcnode.parent.frame() - + if isinstance(boundnode, nodes.ClassDef): # Verify that we're accessing a method # of the metaclass through a class, as in # `cls.metaclass_method`. In this case, the - # first argument is always the class. + # first argument is always the class. method_scope = funcnode.parent.scope() if method_scope is boundnode.metaclass(): return iter((boundnode, )) |