mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
Import from collections.abc wherever possible (#7635)
This commit is contained in:
@@ -2,8 +2,9 @@ import sys
|
||||
import unittest.case
|
||||
import unittest.result
|
||||
import unittest.suite
|
||||
from collections.abc import Callable, Sequence
|
||||
from types import ModuleType
|
||||
from typing import Any, Callable, Pattern, Sequence
|
||||
from typing import Any, Pattern
|
||||
from typing_extensions import TypeAlias
|
||||
|
||||
_SortComparisonMethod: TypeAlias = Callable[[str, str], int]
|
||||
|
||||
Reference in New Issue
Block a user