mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-16 11:01:27 +08:00
Remove some pytype workarounds from stdlib (#14470)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
8 files changed
+10
-40
No files matched your search
@@ -1526,7 +1526,6 @@ def iter(object: Callable[[], _T | None], sentinel: None, /) -> Iterator[_T]: ..
|
||||
@overload
|
||||
def iter(object: Callable[[], _T], sentinel: object, /) -> Iterator[_T]: ...
|
||||
|
||||
# Keep this alias in sync with unittest.case._ClassInfo
|
||||
if sys.version_info >= (3, 10):
|
||||
_ClassInfo: TypeAlias = type | types.UnionType | tuple[_ClassInfo, ...]
|
||||
else:
|
||||
|
||||
Reference in new issue
Block a user