Test and preparations for better call signatures with builtins, see #515.
This commit is contained in:
1 parent
1e623509cd
commit
74779f1a5d
3 files changed
+15
-1
No files matched your search
+1
-1
@@ -326,7 +326,7 @@ class BaseDefinition(object):
|
||||
raise AttributeError()
|
||||
followed = followed[0] # only check the first one.
|
||||
|
||||
if followed.isinstance(er.Function):
|
||||
if followed.type == 'funcdef':
|
||||
if isinstance(followed, er.InstanceElement):
|
||||
params = followed.params[1:]
|
||||
else:
|
||||
|
||||
Reference in new issue
Block a user