mirror of
https://github.com/python/cpython.git
synced 2025-11-24 20:30:18 +00:00
Removed unused imports.
This commit is contained in:
parent
a6f26c1d34
commit
ccd047ea4b
26 changed files with 11 additions and 31 deletions
|
|
@ -9,7 +9,7 @@ configure-like tasks: "try to compile this C code", or "figure out where
|
|||
this header file lives".
|
||||
"""
|
||||
|
||||
import sys, os, re
|
||||
import os, re
|
||||
|
||||
from distutils.core import Command
|
||||
from distutils.errors import DistutilsExecError
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ Implements the Distutils 'register' command (register with the repository).
|
|||
|
||||
# created 2002/10/21, Richard Jones
|
||||
|
||||
import os, string, getpass
|
||||
import getpass
|
||||
import io
|
||||
import urllib.parse, urllib.request
|
||||
from warnings import warn
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@
|
|||
Implements the Distutils 'sdist' command (create a source distribution)."""
|
||||
|
||||
import os
|
||||
import string
|
||||
import sys
|
||||
from types import *
|
||||
from glob import glob
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@ Provides the Extension class, used to describe C/C++ extension
|
|||
modules in setup scripts."""
|
||||
|
||||
import os
|
||||
import sys
|
||||
import warnings
|
||||
|
||||
# This class is really only used by the "build_ext" command, so it might
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ provides the TextFile class, which gives an interface to text files
|
|||
that (optionally) takes care of stripping comments, ignoring blank
|
||||
lines, and joining lines with backslashes."""
|
||||
|
||||
import sys, os, io
|
||||
import sys, io
|
||||
|
||||
|
||||
class TextFile:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue