Skip to content

Commit

Permalink
bpo-40443: Remove unused imports (GH-25429)
Browse files Browse the repository at this point in the history
* pyclbr no longer uses copy
* typing no longer uses ast

Issue discovered by pyflakes.
  • Loading branch information
vstinner authored Apr 16, 2021
1 parent 8a232c7 commit a6a5c91
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion Lib/pyclbr.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
"""

import ast
import copy
import sys
import importlib.util

Expand Down
1 change: 0 additions & 1 deletion Lib/typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
"""

from abc import abstractmethod, ABCMeta
import ast
import collections
import collections.abc
import contextlib
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Remove unused imports: pyclbr no longer uses copy, and typing no longer uses
ast. Patch by Victor Stinner.

0 comments on commit a6a5c91

Please sign in to comment.