1
0
forked from VimPlug/jedi

Script.get_in_function_call -> Script.function_definition

This commit is contained in:
David Halter
2013-02-21 22:04:35 +04:30
parent 923e59b9c2
commit f8e0c78f77
6 changed files with 66 additions and 54 deletions

View File

@@ -135,8 +135,8 @@ def time_cache(time_add_setting):
return _temp
@time_cache("get_in_function_call_validity")
def cache_get_in_function_call(stmt):
@time_cache("function_definition_validity")
def cache_function_definition(stmt):
module_path = stmt.get_parent_until().path
return None if module_path is None else (module_path, stmt.start_pos)