1
0
forked from VimPlug/jedi

Small cleanup: Removed a few print statements.

This commit is contained in:
Dave Halter
2014-12-08 16:03:23 +01:00
parent 51d309b0a8
commit 936a3c9dfe
3 changed files with 1 additions and 5 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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