1
0
forked from VimPlug/jedi

fix the remaining refactoring problems

This commit is contained in:
David Halter
2013-02-05 16:38:23 +01:00
parent bc08ea9630
commit b3a0249475
3 changed files with 6 additions and 4 deletions

View File

@@ -12,6 +12,7 @@ __all__ = ['Script', 'NotFoundError', 'set_debug_function', '_quick_complete']
import re
import os
import parsing
import parsing_representation as pr
import dynamic
import imports
@@ -188,7 +189,7 @@ class Script(object):
return scopes
def _get_under_cursor_stmt(self, cursor_txt):
r = pr.Parser(cursor_txt, no_docstr=True)
r = parsing.Parser(cursor_txt, no_docstr=True)
try:
stmt = r.module.statements[0]
except IndexError: