summaryrefslogtreecommitdiff
path: root/Lib/lib2to3
diff options
context:
space:
mode:
authorSrinivas Thatiparthy (శ్రీనివాస్ తాటిపర్తి) <thatiparthysreenivas@gmail.com>2018-11-10 12:52:02 +0530
committerSerhiy Storchaka <storchaka@gmail.com>2018-11-10 09:22:02 +0200
commitb9498e2367f21205ed2b9c172665ea6f0a218d27 (patch)
treef3b03cddd87e5c9c8315113efbea3854870f80b0 /Lib/lib2to3
parent43a74abb3a87092a7fd6c71042eafb977d70d8e0 (diff)
downloadcpython-git-b9498e2367f21205ed2b9c172665ea6f0a218d27.tar.gz
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 cbc58e759d..6471635a31 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 c00cb2248d..a1da546eee 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