From 7ce3894f23adf94f2f3cf206e06e7dce9f4ce401 Mon Sep 17 00:00:00 2001 From: Mike Date: Sun, 26 May 2019 06:10:14 -0400 Subject: [PATCH] [blib2to3] Fixed a typo and removed an unused import. (#848) --- blib2to3/pygram.py | 1 - blib2to3/pytree.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/blib2to3/pygram.py b/blib2to3/pygram.py index f6ef001..0c916a9 100644 --- a/blib2to3/pygram.py +++ b/blib2to3/pygram.py @@ -9,7 +9,6 @@ import os # 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") diff --git a/blib2to3/pytree.py b/blib2to3/pytree.py index 61df2b6..4da5700 100644 --- a/blib2to3/pytree.py +++ b/blib2to3/pytree.py @@ -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, -- 2.39.5