mirror of https://github.com/python/cpython
gh-105407: Remove unused imports in the stdlib (#105411)
This commit is contained in:
parent
d1b0015ea8
commit
94d5f9827d
|
@ -147,7 +147,6 @@ import itertools
|
|||
import os
|
||||
import re
|
||||
import sys
|
||||
import warnings
|
||||
|
||||
__all__ = ("NoSectionError", "DuplicateOptionError", "DuplicateSectionError",
|
||||
"NoOptionError", "InterpolationError", "InterpolationDepthError",
|
||||
|
|
|
@ -54,8 +54,6 @@ _unpack_uint32 = _bootstrap_external._unpack_uint32
|
|||
# Fully bootstrapped at this point, import whatever you like, circular
|
||||
# dependencies and startup overhead minimisation permitting :)
|
||||
|
||||
import warnings
|
||||
|
||||
|
||||
# Public API #########################################################
|
||||
|
||||
|
|
|
@ -12,7 +12,6 @@ import warnings
|
|||
import functools
|
||||
import itertools
|
||||
import posixpath
|
||||
import contextlib
|
||||
import collections
|
||||
import inspect
|
||||
|
||||
|
|
|
@ -104,7 +104,6 @@ import math
|
|||
import time
|
||||
import inspect
|
||||
import sys
|
||||
import warnings
|
||||
|
||||
from os.path import isfile, split, join
|
||||
from copy import deepcopy
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
import sys
|
||||
import argparse
|
||||
import os
|
||||
import warnings
|
||||
|
||||
from . import loader, runner
|
||||
from .signals import installHandler
|
||||
|
|
Loading…
Reference in New Issue