parsing.PyFuzzyParser -> Parser
This commit is contained in:
1 parent
e1ab3855fa
commit
95c5b9a5e3
6 files changed
+10
-11
No files matched your search
+1
-1
@@ -188,7 +188,7 @@ class Script(object):
|
||||
return scopes
|
||||
|
||||
def _get_under_cursor_stmt(self, cursor_txt):
|
||||
r = parsing.PyFuzzyParser(cursor_txt, no_docstr=True)
|
||||
r = parsing.Parser(cursor_txt, no_docstr=True)
|
||||
try:
|
||||
stmt = r.module.statements[0]
|
||||
except IndexError:
|
||||
|
||||
Reference in new issue
Block a user