summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/pyclbr.py1
-rw-r--r--Lib/typing.py1
-rw-r--r--Misc/NEWS.d/next/Library/2021-04-16-02-03-00.bpo-40443.Io6FHL.rst2
3 files changed, 2 insertions, 2 deletions
diff --git a/Lib/pyclbr.py b/Lib/pyclbr.py
index ebcc23c..37f8699 100644
--- a/Lib/pyclbr.py
+++ b/Lib/pyclbr.py
@@ -42,7 +42,6 @@ shouldn't happen often.
"""
import ast
-import copy
import sys
import importlib.util
diff --git a/Lib/typing.py b/Lib/typing.py
index dc2a7a4..ea66cf5 100644
--- a/Lib/typing.py
+++ b/Lib/typing.py
@@ -20,7 +20,6 @@ At large scale, the structure of the module is following:
"""
from abc import abstractmethod, ABCMeta
-import ast
import collections
import collections.abc
import contextlib
diff --git a/Misc/NEWS.d/next/Library/2021-04-16-02-03-00.bpo-40443.Io6FHL.rst b/Misc/NEWS.d/next/Library/2021-04-16-02-03-00.bpo-40443.Io6FHL.rst
new file mode 100644
index 0000000..f5672e6
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2021-04-16-02-03-00.bpo-40443.Io6FHL.rst
@@ -0,0 +1,2 @@
+Remove unused imports: pyclbr no longer uses copy, and typing no longer uses
+ast. Patch by Victor Stinner.