1
0
forked from VimPlug/jedi

Rename it to _func_call_and_param_index

This commit is contained in:
Takafumi Arakaki
2013-03-10 01:26:46 +01:00
parent d9b3bb4016
commit 7ce0e1c178

View File

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