mirror of
https://github.com/davidhalter/parso.git
synced 2026-05-17 22:10:01 +08:00
Make it clearer which things are public in pgen
This commit is contained in:
+1
-1
@@ -16,7 +16,7 @@ complexity of the ``Parser`` (there's another parser sitting inside
|
|||||||
``Statement``, which produces ``Array`` and ``Call``).
|
``Statement``, which produces ``Array`` and ``Call``).
|
||||||
"""
|
"""
|
||||||
from parso import tree
|
from parso import tree
|
||||||
from parso.pgen2.parse import PgenParser
|
from parso.pgen2 import PgenParser
|
||||||
|
|
||||||
|
|
||||||
class ParserSyntaxError(Exception):
|
class ParserSyntaxError(Exception):
|
||||||
|
|||||||
@@ -8,3 +8,4 @@
|
|||||||
# Modifications are dual-licensed: MIT and PSF.
|
# Modifications are dual-licensed: MIT and PSF.
|
||||||
|
|
||||||
from parso.pgen2.generator import generate_grammar
|
from parso.pgen2.generator import generate_grammar
|
||||||
|
from parso.pgen2.parse import PgenParser
|
||||||
|
|||||||
Reference in New Issue
Block a user