diff --git a/jedi/api/classes.py b/jedi/api/classes.py index 2e0ce13d..eefaf31a 100644 --- a/jedi/api/classes.py +++ b/jedi/api/classes.py @@ -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 diff --git a/jedi/evaluate/helpers.py b/jedi/evaluate/helpers.py index 2b6e175d..792b5e42 100644 --- a/jedi/evaluate/helpers.py +++ b/jedi/evaluate/helpers.py @@ -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 diff --git a/jedi/parser/user_context.py b/jedi/parser/user_context.py index a9c72049..5900606a 100644 --- a/jedi/parser/user_context.py +++ b/jedi/parser/user_context.py @@ -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 @@ -193,7 +192,7 @@ class UserContext(object): elif tok_str == ',': index += 1 elif tok_str == '=': - next_is_key=True + next_is_key = True return None, 0, None def get_context(self, yield_positions=False):