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

@@ -336,9 +336,11 @@ class RelatedName(BaseDefinition):
class CallDef(object):
""" `CallDef` objects is the return value of `Script.get_in_function_call`.
"""
`CallDef` objects is the return value of `Script.function_definition`.
It knows what functions you are currently in. e.g. `isinstance(` would
return the `isinstance` function. without `(` it would return nothing."""
return the `isinstance` function. without `(` it would return nothing.
"""
def __init__(self, executable, index, call):
self.executable = executable
self.index = index