Move the iter_errors and normalizer methods to grammar.py.

This commit is contained in:
Dave Halter
2017-08-06 15:32:50 +02:00
parent 3e39a04bb1
commit 90edb2d0cf
9 changed files with 47 additions and 40 deletions

View File

@@ -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():