From 7ce0e1c1780fb6638c556447b99e3e1c84be819d Mon Sep 17 00:00:00 2001 From: Takafumi Arakaki Date: Sun, 10 Mar 2013 01:26:46 +0100 Subject: [PATCH] Rename it to _func_call_and_param_index --- jedi/api.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/jedi/api.py b/jedi/api.py index 2be8cb83..dff1e7e9 100644 --- a/jedi/api.py +++ b/jedi/api.py @@ -243,7 +243,7 @@ class Script(object): # Fetch definition of callee if not goto_path: - (call, _) = self._get_function_call_and_param_index_at_point() + (call, _) = self._func_call_and_param_index() if call is not None: while call.next is not None: call = call.next @@ -395,7 +395,7 @@ class Script(object): :rtype: :class:`api_classes.CallDef` """ - (call, index) = self._get_function_call_and_param_index_at_point() + (call, index) = self._func_call_and_param_index() if call is None: return None @@ -412,7 +412,7 @@ class Script(object): return api_classes.CallDef(executable, index, call) - def _get_function_call_and_param_index_at_point(self): + def _func_call_and_param_index(self): def check_user_stmt(user_stmt): if user_stmt is None \ or not isinstance(user_stmt, pr.Statement):