[blib2to3] Fixed a typo and removed an unused import. (#848)

This commit is contained in:
Mike 2019-05-26 06:10:14 -04:00 committed by Zsolt Dollenstein
parent 1c43252aa3
commit 7ce3894f23
2 changed files with 1 additions and 2 deletions

View File

@ -9,7 +9,6 @@
# Local imports
from .pgen2 import token
from .pgen2 import driver
from . import pytree
# The grammar file
_GRAMMAR_FILE = os.path.join(os.path.dirname(__file__), "Grammar.txt")

View File

@ -335,7 +335,7 @@ class Leaf(Base):
# Default values for instance variables
_prefix = "" # Whitespace and comments preceding this token in the input
lineno = 0 # Line where this token starts in the input
column = 0 # Column where this token tarts in the input
column = 0 # Column where this token starts in the input
def __init__(self, type, value,
context=None,