mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-16 11:01:27 +08:00
Simplify and correct many numeric unions (#7906)
Unblocks PyCQA/flake8-pyi#222
This commit is contained in:
1 parent
7576805aee
commit
76a4bd796b
17 files changed
+30
-26
No files matched your search
@@ -18,7 +18,7 @@ _T4 = TypeVar("_T4")
|
||||
_T5 = TypeVar("_T5")
|
||||
_T6 = TypeVar("_T6")
|
||||
|
||||
_Step: TypeAlias = int | float | SupportsFloat | SupportsInt | SupportsIndex | SupportsComplex
|
||||
_Step: TypeAlias = SupportsFloat | SupportsInt | SupportsIndex | SupportsComplex
|
||||
|
||||
_Predicate: TypeAlias = Callable[[_T], object]
|
||||
|
||||
|
||||
Reference in new issue
Block a user