[Python-checkins] bpo-35202: Remove unused imports in Lib directory. (GH-10445)

Serhiy Storchaka webhook-mailer at python.org
Sat Nov 10 00:45:31 EST 2018

commit: 2d1bc537fe8b15664bb3e648785ba3c12e93b232
branch: master
author: Srinivas  Thatiparthy (శ్రీనివాస్  తాటిపర్తి) <thatiparthysreenivas at gmail.com>
committer: Serhiy Storchaka <storchaka at gmail.com>
date: 2018-11-10T07:45:28+02:00

bpo-35202: Remove unused imports in Lib directory. (GH-10445)

M Lib/shutil.py
M Lib/trace.py
M Lib/typing.py

diff --git a/Lib/shutil.py b/Lib/shutil.py
index 40dd070ed11f..b7a7df3a51fa 100644
--- a/Lib/shutil.py
+++ b/Lib/shutil.py
@@ -10,7 +10,6 @@
 import fnmatch
 import collections
 import errno
-import io
     import zlib
diff --git a/Lib/trace.py b/Lib/trace.py
index 0ed7ba95b520..3049e4ec6839 100755
--- a/Lib/trace.py
+++ b/Lib/trace.py
@@ -51,7 +51,6 @@
 import linecache
 import os
-import re
 import sys
 import token
 import tokenize
diff --git a/Lib/typing.py b/Lib/typing.py
index cfcbb3b76328..4f9e04506fb5 100644
--- a/Lib/typing.py
+++ b/Lib/typing.py
@@ -18,7 +18,6 @@
 * Wrapper submodules for re and io related types.
-import abc
 from abc import abstractmethod, abstractproperty
 import collections
 import collections.abc

More information about the Python-checkins mailing list