mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
bpo-40443: Remove unused imports (GH-25429)
* pyclbr no longer uses copy * typing no longer uses ast Issue discovered by pyflakes.
This commit is contained in:
parent
8a232c7b17
commit
a6a5c91b1e
3 changed files with 2 additions and 2 deletions
|
@ -42,7 +42,6 @@ shouldn't happen often.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import ast
|
import ast
|
||||||
import copy
|
|
||||||
import sys
|
import sys
|
||||||
import importlib.util
|
import importlib.util
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,6 @@ At large scale, the structure of the module is following:
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from abc import abstractmethod, ABCMeta
|
from abc import abstractmethod, ABCMeta
|
||||||
import ast
|
|
||||||
import collections
|
import collections
|
||||||
import collections.abc
|
import collections.abc
|
||||||
import contextlib
|
import contextlib
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
Remove unused imports: pyclbr no longer uses copy, and typing no longer uses
|
||||||
|
ast. Patch by Victor Stinner.
|
Loading…
Add table
Add a link
Reference in a new issue