mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
Patch #2167 from calvin: Remove unused imports
This commit is contained in:
parent
19aff0c90a
commit
c5f05e45cf
203 changed files with 77 additions and 243 deletions
|
@ -34,7 +34,7 @@ XXX This code was created by reverse engineering CVS 1.9 and RCS 5.7
|
|||
from their output.
|
||||
"""
|
||||
|
||||
import os, sys, errno, getopt, re
|
||||
import sys, errno, getopt, re
|
||||
|
||||
sep1 = '='*77 + '\n' # file separator
|
||||
sep2 = '-'*28 + '\n' # revision separator
|
||||
|
|
|
@ -34,7 +34,7 @@ Even if this isn't the default output of your nm, there is generally an
|
|||
option to produce this format (since it is the original v7 Unix format).
|
||||
|
||||
"""
|
||||
import os,re,sys
|
||||
import os, sys
|
||||
|
||||
PYTHONLIB = 'libpython'+sys.version[:3]+'.a'
|
||||
PC_PYTHONLIB = 'Python'+sys.version[0]+sys.version[2]+'.dll'
|
||||
|
|
|
@ -81,7 +81,6 @@ STEPSIZE = 8
|
|||
TABSIZE = 8
|
||||
EXPANDTABS = 0
|
||||
|
||||
import os
|
||||
import re
|
||||
import sys
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ __author__ = "Oleg Broytmann, Georg Brandl"
|
|||
__all__ = ["has_python_ext", "looks_like_python", "can_be_compiled", "walk_python_files"]
|
||||
|
||||
|
||||
import sys, os, re
|
||||
import os, re
|
||||
|
||||
binary_re = re.compile('[\x00-\x08\x0E-\x1F\x7F]')
|
||||
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
import sys
|
||||
import os
|
||||
from stat import *
|
||||
import commands
|
||||
import fnmatch
|
||||
|
||||
EXECMAGIC = '\001\140\000\010'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue