summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/command
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-04-24 21:12:32 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-04-24 21:12:32 (GMT)
commitccd047ea4b92f09a84b67e69deb82ce42e510c4c (patch)
tree89663a3917f136919b9b491c22ee76c16afd0b83 /Lib/distutils/command
parenta6f26c1d3495670c02c2ceb1e38ada0d468579f7 (diff)
downloadcpython-ccd047ea4b92f09a84b67e69deb82ce42e510c4c.zip
cpython-ccd047ea4b92f09a84b67e69deb82ce42e510c4c.tar.gz
cpython-ccd047ea4b92f09a84b67e69deb82ce42e510c4c.tar.bz2
Removed unused imports.
Diffstat (limited to 'Lib/distutils/command')
-rw-r--r--Lib/distutils/command/config.py2
-rw-r--r--Lib/distutils/command/register.py2
-rw-r--r--Lib/distutils/command/sdist.py1
3 files changed, 2 insertions, 3 deletions
diff --git a/Lib/distutils/command/config.py b/Lib/distutils/command/config.py
index 847e858..b1fd09e 100644
--- a/Lib/distutils/command/config.py
+++ b/Lib/distutils/command/config.py
@@ -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
diff --git a/Lib/distutils/command/register.py b/Lib/distutils/command/register.py
index b49f86f..a3e0893 100644
--- a/Lib/distutils/command/register.py
+++ b/Lib/distutils/command/register.py
@@ -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
diff --git a/Lib/distutils/command/sdist.py b/Lib/distutils/command/sdist.py
index 7ea3d5f..35a06eb 100644
--- a/Lib/distutils/command/sdist.py
+++ b/Lib/distutils/command/sdist.py
@@ -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