Make it clearer which things are public in pgen

This commit is contained in:
Dave Halter
2018-06-26 10:22:38 +02:00
parent e20f2069ba
commit 91d864b23d
2 changed files with 2 additions and 1 deletions

View File

@@ -16,7 +16,7 @@ complexity of the ``Parser`` (there's another parser sitting inside
``Statement``, which produces ``Array`` and ``Call``).
"""
from parso import tree
from parso.pgen2.parse import PgenParser
from parso.pgen2 import PgenParser
class ParserSyntaxError(Exception):

View File

@@ -8,3 +8,4 @@
# Modifications are dual-licensed: MIT and PSF.
from parso.pgen2.generator import generate_grammar
from parso.pgen2.parse import PgenParser