Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 274271d

Browse filesBrowse files
committed
remove unused imports (closes #12432)
A patch from Vincent Legoll.
1 parent e4a51e6 commit 274271d
Copy full SHA for 274271d

7 files changed

+2-6Lines changed: 2 additions & 6 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎Lib/binhex.py‎

Copy file name to clipboardExpand all lines: Lib/binhex.py
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
#
2424
import io
2525
import os
26-
import sys
2726
import struct
2827
import binascii
2928

Collapse file

‎Lib/cgitb.py‎

Copy file name to clipboardExpand all lines: Lib/cgitb.py
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
import time
3232
import tokenize
3333
import traceback
34-
import types
3534

3635
def reset():
3736
"""Return a string that resets the CGI and browser to a known state."""
Collapse file

‎Lib/contextlib.py‎

Copy file name to clipboardExpand all lines: Lib/contextlib.py
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
import sys
44
from functools import wraps
5-
from warnings import warn
65

76
__all__ = ["contextmanager", "closing", "ContextDecorator"]
87

Collapse file

‎Lib/glob.py‎

Copy file name to clipboardExpand all lines: Lib/glob.py
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
"""Filename globbing utility."""
22

3+
import sys
34
import os
45
import re
56
import fnmatch
Collapse file

‎Lib/inspect.py‎

Copy file name to clipboardExpand all lines: Lib/inspect.py
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
import os
3434
import types
3535
import itertools
36-
import string
3736
import re
3837
import imp
3938
import tokenize
Collapse file

‎Lib/textwrap.py‎

Copy file name to clipboardExpand all lines: Lib/textwrap.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
__revision__ = "$Id$"
99

10-
import string, re
10+
import re
1111

1212
__all__ = ['TextWrapper', 'wrap', 'fill', 'dedent']
1313

Collapse file

‎Lib/turtle.py‎

Copy file name to clipboardExpand all lines: Lib/turtle.py
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,6 @@
108108
import types
109109
import math
110110
import time
111-
import os
112111
import inspect
113112

114113
from os.path import isfile, split, join

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.