forked from VimPlug/jedi
Small cleanup: Removed a few print statements.
This commit is contained in:
@@ -695,7 +695,6 @@ 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
|
||||
|
||||
@@ -223,13 +223,11 @@ def search_call_signatures(user_stmt, position):
|
||||
"""
|
||||
debug.speed('func_call start')
|
||||
call, arr, index = None, None, 0
|
||||
print(user_stmt)
|
||||
if user_stmt is not None and isinstance(user_stmt, pr.ExprStmt):
|
||||
# some parts will of the statement will be removed
|
||||
user_stmt = deep_ast_copy(user_stmt)
|
||||
|
||||
return scan_node_for_call_signature(user_stmt, position) + (0,)
|
||||
print()
|
||||
#arr, index, call = _call_signature_array_for_pos(user_stmt, position)
|
||||
|
||||
# Now remove the part after the call. Including the array from the
|
||||
|
||||
@@ -171,7 +171,6 @@ class UserContext(object):
|
||||
if next_must_be_name:
|
||||
if token.type == tokenize.NAME:
|
||||
call, _ = self._calc_path_until_cursor(start_pos=pos)
|
||||
print(call, index, key_name)
|
||||
return call, index, key_name
|
||||
index = 0
|
||||
next_must_be_name = False
|
||||
|
||||
Reference in New Issue
Block a user