mirror of
https://github.com/davidhalter/parso.git
synced 2026-11-04 02:02:49 +08:00
Move the iter_errors and normalizer methods to grammar.py.
This commit is contained in:
1 parent
3e39a04bb1
commit
90edb2d0cf
9 files changed
+47
-40
No files matched your search
+1
-1
@@ -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