mirror of
https://github.com/davidhalter/parso.git
synced 2025-12-06 21:04:29 +08:00
Move the iter_errors and normalizer methods to grammar.py.
This commit is contained in:
@@ -4,7 +4,7 @@ import parso
|
||||
def issues(code):
|
||||
grammar = parso.load_grammar()
|
||||
module = parso.parse(code)
|
||||
return module._get_normalizer_issues(grammar)
|
||||
return grammar._get_normalizer_issues(module)
|
||||
|
||||
|
||||
def test_eof_newline():
|
||||
|
||||
Reference in New Issue
Block a user