mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
PY-74332 Patch typeshed: import collections.abc using X as X instead of X syntax
GitOrigin-RevId: 3bc82ccaedfdfeec81fa06027487cf092deb26ef
This commit is contained in:
committed by
intellij-monorepo-bot
parent
19e8b9a19c
commit
7e2d1c4cd6
@@ -7,16 +7,16 @@ from typing_extensions import Self
|
||||
|
||||
if sys.version_info >= (3, 10):
|
||||
from collections.abc import (
|
||||
Callable,
|
||||
ItemsView,
|
||||
Iterable,
|
||||
Iterator,
|
||||
KeysView,
|
||||
Mapping,
|
||||
MutableMapping,
|
||||
MutableSequence,
|
||||
Sequence,
|
||||
ValuesView,
|
||||
Callable as Callable,
|
||||
ItemsView as ItemsView,
|
||||
Iterable as Iterable,
|
||||
Iterator as Iterator,
|
||||
KeysView as KeysView,
|
||||
Mapping as Mapping,
|
||||
MutableMapping as MutableMapping,
|
||||
MutableSequence as MutableSequence,
|
||||
Sequence as Sequence,
|
||||
ValuesView as ValuesView,
|
||||
)
|
||||
else:
|
||||
from _collections_abc import *
|
||||
|
||||
Reference in New Issue
Block a user