mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-15 02:31:09 +08:00
Use PEP 585 syntax in collections (#7657)
This commit is contained in:
1 parent
97a74bc1aa
commit
073f9f416d
1 file changed
+1
-1
@@ -8,7 +8,7 @@ if sys.version_info >= (3, 9):
|
||||
from types import GenericAlias
|
||||
|
||||
if sys.version_info >= (3, 10):
|
||||
from typing import Callable, Iterable, Iterator, Mapping, MutableMapping, MutableSequence, Reversible, Sequence
|
||||
from collections.abc import Callable, Iterable, Iterator, Mapping, MutableMapping, MutableSequence, Reversible, Sequence
|
||||
else:
|
||||
from _collections_abc import *
|
||||
|
||||
|
||||
Reference in new issue
Block a user