]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-131152, pkgutil: Remove unused imports (#131149)
authorVictor Stinner <vstinner@python.org>
Wed, 12 Mar 2025 14:03:36 +0000 (15:03 +0100)
committerGitHub <noreply@github.com>
Wed, 12 Mar 2025 14:03:36 +0000 (15:03 +0100)
Lib/pkgutil.py

index b84d72f2395d454739620e4dd2817168d9a959fc..8772a66791a3c9aced4fa96e23ea79c1eda17f5d 100644 (file)
@@ -8,8 +8,6 @@ import importlib.machinery
 import os
 import os.path
 import sys
-from types import ModuleType
-import warnings
 
 __all__ = [
     'get_importer', 'iter_importers',