mirror of
https://github.com/python/cpython.git
synced 2025-10-30 21:21:22 +00:00
[3.13] gh-120417: Remove unused imports in the stdlib (GH-120420) (#120429)
gh-120417: Remove unused imports in the stdlib (GH-120420)
(cherry picked from commit 4c6d4f5cb3)
Co-authored-by: Victor Stinner <vstinner@python.org>
This commit is contained in:
parent
7c6b3429b6
commit
51724620e8
11 changed files with 5 additions and 14 deletions
|
|
@ -7,7 +7,6 @@
|
|||
import itertools
|
||||
import abc
|
||||
from reprlib import recursive_repr
|
||||
from types import FunctionType, GenericAlias
|
||||
|
||||
|
||||
__all__ = ['dataclass',
|
||||
|
|
@ -333,7 +332,7 @@ def __set_name__(self, owner, name):
|
|||
# it.
|
||||
func(self.default, owner, name)
|
||||
|
||||
__class_getitem__ = classmethod(GenericAlias)
|
||||
__class_getitem__ = classmethod(types.GenericAlias)
|
||||
|
||||
|
||||
class _DataclassParams:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue