bpo-29919: Remove unused imports found by pyflakes (#137)

Make also minor PEP8 coding style fixes on modified imports.
This commit is contained in:
Victor Stinner 2017-03-27 16:05:26 +02:00 committed by GitHub
parent 604e74c6be
commit d6debb24e0
40 changed files with 30 additions and 55 deletions

View file

@ -7,7 +7,6 @@
import abc
import ast
import atexit
import collections
import contextlib
import copy
@ -27,7 +26,6 @@ import tempfile
import textwrap
import traceback
import types
import uuid
from types import *
NoneType = type(None)

View file

@ -10,7 +10,7 @@ import tempfile
from itertools import chain
from pathlib import Path
from zipfile import ZipFile, ZIP_DEFLATED
import subprocess
TKTCL_RE = re.compile(r'^(_?tk|tcl).+\.(pyd|dll)', re.IGNORECASE)
DEBUG_RE = re.compile(r'_d\.(pyd|dll|exe|pdb|lib)$', re.IGNORECASE)

View file

@ -3,7 +3,7 @@ import os
import struct
from array import array
from collections import namedtuple
from datetime import datetime, timedelta
from datetime import datetime
ttinfo = namedtuple('ttinfo', ['tt_gmtoff', 'tt_isdst', 'tt_abbrind'])