1
0
forked from VimPlug/jedi

Better SyntaxError listings

This commit is contained in:
Dave Halter
2020-03-14 17:30:33 +01:00
parent 3cef022a15
commit 20fad922bc
3 changed files with 11 additions and 1 deletions
+3 -1
View File
@@ -581,7 +581,9 @@ class Script(object):
def get_syntax_errors(self):
"""
XXX
Lists all syntax errors in the current file.
:rtype: list of :class:`.SyntaxError`
"""
return parso_to_jedi_errors(self._inference_state.grammar, self._module_node)