summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/configparser.py1
-rw-r--r--Lib/importlib/__init__.py2
-rw-r--r--Lib/importlib/metadata/__init__.py1
-rw-r--r--Lib/turtle.py1
-rw-r--r--Lib/unittest/main.py1
5 files changed, 0 insertions, 6 deletions
diff --git a/Lib/configparser.py b/Lib/configparser.py
index 9640f71..682d973 100644
--- a/Lib/configparser.py
+++ b/Lib/configparser.py
@@ -147,7 +147,6 @@ import itertools
import os
import re
import sys
-import warnings
__all__ = ("NoSectionError", "DuplicateOptionError", "DuplicateSectionError",
"NoOptionError", "InterpolationError", "InterpolationDepthError",
diff --git a/Lib/importlib/__init__.py b/Lib/importlib/__init__.py
index 707c081..f38fe5c 100644
--- a/Lib/importlib/__init__.py
+++ b/Lib/importlib/__init__.py
@@ -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 #########################################################
diff --git a/Lib/importlib/metadata/__init__.py b/Lib/importlib/metadata/__init__.py
index 82e0ce1..5c09666 100644
--- a/Lib/importlib/metadata/__init__.py
+++ b/Lib/importlib/metadata/__init__.py
@@ -12,7 +12,6 @@ import warnings
import functools
import itertools
import posixpath
-import contextlib
import collections
import inspect
diff --git a/Lib/turtle.py b/Lib/turtle.py
index 54f0efa..e542bc9 100644
--- a/Lib/turtle.py
+++ b/Lib/turtle.py
@@ -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
diff --git a/Lib/unittest/main.py b/Lib/unittest/main.py
index 03963e0..d29a9f9 100644
--- a/Lib/unittest/main.py
+++ b/Lib/unittest/main.py
@@ -3,7 +3,6 @@
import sys
import argparse
import os
-import warnings
from . import loader, runner
from .signals import installHandler