From: Mike Date: Sun, 26 May 2019 10:10:14 +0000 (-0400) Subject: [blib2to3] Fixed a typo and removed an unused import. (#848) X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/7ce3894f23adf94f2f3cf206e06e7dce9f4ce401 [blib2to3] Fixed a typo and removed an unused import. (#848) --- 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,