1
0
forked from VimPlug/jedi

Fixed named argument call signature stuff and issues with classes and call signature params.

This commit is contained in:
Dave Halter
2014-12-07 23:55:44 +01:00
parent bb747a83e8
commit b24bf29fc2
5 changed files with 24 additions and 9 deletions
+1 -2
View File
@@ -571,7 +571,7 @@ class Script(object):
:rtype: list of :class:`classes.CallSignature`
"""
call_txt, call_index = self._user_context.call_signature()
call_txt, call_index, key_name = self._user_context.call_signature()
if call_txt is None:
return []
@@ -587,7 +587,6 @@ class Script(object):
self._pos, stmt)
debug.speed('func_call followed')
key_name = None
if 0: # Change logic.
try:
# Access the trailers arglist node.
+1
View File
@@ -690,6 +690,7 @@ class CallSignature(Definition):
for i, param in enumerate(self.params):
# *args case
print(param)
if param._name.get_definition().stars == 1:
return i
return None