summaryrefslogtreecommitdiffstats
path: root/Lib/lib2to3
diff options
context:
space:
mode:
authorSrinivas Thatiparthy (శ్రీనివాస్ తాటిపర్తి) <thatiparthysreenivas@gmail.com>2018-11-10 07:22:02 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2018-11-10 07:22:02 (GMT)
commitb9498e2367f21205ed2b9c172665ea6f0a218d27 (patch)
treef3b03cddd87e5c9c8315113efbea3854870f80b0 /Lib/lib2to3
parent43a74abb3a87092a7fd6c71042eafb977d70d8e0 (diff)
downloadcpython-b9498e2367f21205ed2b9c172665ea6f0a218d27.zip
cpython-b9498e2367f21205ed2b9c172665ea6f0a218d27.tar.gz
cpython-b9498e2367f21205ed2b9c172665ea6f0a218d27.tar.bz2
bpo-35202: Remove unused imports in Lib directory. (GH-10446)
Diffstat (limited to 'Lib/lib2to3')
-rw-r--r--Lib/lib2to3/pgen2/driver.py1
-rw-r--r--Lib/lib2to3/pgen2/grammar.py1
2 files changed, 0 insertions, 2 deletions
diff --git a/Lib/lib2to3/pgen2/driver.py b/Lib/lib2to3/pgen2/driver.py
index cbc58e7..6471635 100644
--- a/Lib/lib2to3/pgen2/driver.py
+++ b/Lib/lib2to3/pgen2/driver.py
@@ -16,7 +16,6 @@ __author__ = "Guido van Rossum <guido@python.org>"
__all__ = ["Driver", "load_grammar"]
# Python imports
-import codecs
import io
import os
import logging
diff --git a/Lib/lib2to3/pgen2/grammar.py b/Lib/lib2to3/pgen2/grammar.py
index c00cb22..a1da546 100644
--- a/Lib/lib2to3/pgen2/grammar.py
+++ b/Lib/lib2to3/pgen2/grammar.py
@@ -13,7 +13,6 @@ fallback token code OP, but the parser needs the actual token code.
"""
# Python imports
-import collections
import pickle
# Local imports