mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
bpo-29919: Remove unused imports found by pyflakes (#137)
Make also minor PEP8 coding style fixes on modified imports.
This commit is contained in:
parent
604e74c6be
commit
d6debb24e0
40 changed files with 30 additions and 55 deletions
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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'])
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue