Skip to content

Commit a6a5c91

Browse files
authored
bpo-40443: Remove unused imports (GH-25429)
* pyclbr no longer uses copy * typing no longer uses ast Issue discovered by pyflakes.
1 parent 8a232c7 commit a6a5c91

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

Lib/pyclbr.py

-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242
"""
4343

4444
import ast
45-
import copy
4645
import sys
4746
import importlib.util
4847

Lib/typing.py

-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
"""
2121

2222
from abc import abstractmethod, ABCMeta
23-
import ast
2423
import collections
2524
import collections.abc
2625
import contextlib
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Remove unused imports: pyclbr no longer uses copy, and typing no longer uses
2+
ast. Patch by Victor Stinner.

0 commit comments

Comments
 (0)