Skip to content

Commit 70d28a1

Browse files
Remove unused imports.
1 parent 5bb8b91 commit 70d28a1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+0
-60
lines changed

Lib/asyncio/base_events.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
import collections
1717
import concurrent.futures
1818
import heapq
19-
import inspect
2019
import itertools
2120
import logging
2221
import os

Lib/http/client.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@
7272
import email.message
7373
import http
7474
import io
75-
import os
7675
import re
7776
import socket
7877
import collections

Lib/idlelib/idle_test/test_macosx.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
'''
55
from idlelib import macosx
66
from test.support import requires
7-
import sys
87
import tkinter as tk
98
import unittest
109
import unittest.mock as mock

Lib/idlelib/idle_test/test_tree.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
from idlelib import tree
66
from test.support import requires
77
requires('gui')
8-
import os
98
import unittest
109
from tkinter import Tk
1110

Lib/idlelib/macosx.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
A number of functions that enhance IDLE on Mac OSX.
33
"""
44
from sys import platform # Used in _init_tk_type, changed by test.
5-
import warnings
65

76
import tkinter
87

Lib/idlelib/stackviewer.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import linecache
22
import os
3-
import re
43
import sys
54

65
import tkinter as tk

Lib/lib2to3/pytree.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
__author__ = "Guido van Rossum <guido@python.org>"
1414

1515
import sys
16-
import warnings
1716
from io import StringIO
1817

1918
HUGE = 0x7FFFFFFF # maximum repeat count, default max

Lib/lib2to3/tests/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# Author: Collin Winter
22

33
import os
4-
import unittest
54

65
from test.support import load_package_tests
76

Lib/modulefinder.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
import os
88
import sys
99
import types
10-
import struct
1110
import warnings
1211
with warnings.catch_warnings():
1312
warnings.simplefilter('ignore', DeprecationWarning)

Lib/socketserver.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,6 @@ class will essentially render the service "deaf" while one request is
126126
import socket
127127
import selectors
128128
import os
129-
import errno
130129
import sys
131130
try:
132131
import threading

0 commit comments

Comments
 (0)