1
0
forked from VimPlug/jedi

PyFuzzyParser should not be called with no_docstr=True and source_path

This commit is contained in:
David Halter
2012-12-13 12:42:04 +01:00
parent 303672f037
commit 4814c13e29

View File

@@ -195,7 +195,7 @@ class Script(object):
return scopes
def _get_under_cursor_stmt(self, cursor_txt):
r = parsing.PyFuzzyParser(cursor_txt, self.source_path, no_docstr=True)
r = parsing.PyFuzzyParser(cursor_txt, no_docstr=True)
try:
stmt = r.module.statements[0]
except IndexError: