Removed unused imports.

This commit is contained in:
Serhiy Storchaka 2016-04-25 00:12:32 +03:00
parent a6f26c1d34
commit ccd047ea4b
26 changed files with 11 additions and 31 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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: