1
0
forked from VimPlug/jedi

better support for get_in_function_call - fixes #57

This commit is contained in:
David Halter
2012-11-11 02:48:33 +01:00
parent fcc6a1e401
commit 3d1f67b8a0
3 changed files with 15 additions and 9 deletions

View File

@@ -348,8 +348,6 @@ class Script(object):
# just take entry zero, because we need just one.
executable = origins[0]
after = self.module.get_line(self.pos[0])[self.pos[1]:]
index -= re.search('^[ ,]*', after).group(0).count(',')
return api_classes.CallDef(executable, index, call)
def _get_on_import_stmt(self, is_like_search=False):