Remove Python 3.7 branches (#11238)

This commit is contained in:
Sebastian Rittau authored and GitHub committed 2024-01-05 11:39:39 +01:00
1 parent 4e62577002
commit 23604858a6
122 files changed
+1952 -3800

No files matched your search

+4 -8
View File
@@ -49,14 +49,10 @@ class repeat(Iterator[_T]):
def __length_hint__(self) -> int: ...
class accumulate(Iterator[_T]):
if sys.version_info >= (3, 8):
@overload
def __init__(self, iterable: Iterable[_T], func: None = None, *, initial: _T | None = ...) -> None: ...
@overload
def __init__(self, iterable: Iterable[_S], func: Callable[[_T, _S], _T], *, initial: _T | None = ...) -> None: ...
else:
def __init__(self, iterable: Iterable[_T], func: Callable[[_T, _T], _T] | None = ...) -> None: ...
@overload
def __init__(self, iterable: Iterable[_T], func: None = None, *, initial: _T | None = ...) -> None: ...
@overload
def __init__(self, iterable: Iterable[_S], func: Callable[[_T, _S], _T], *, initial: _T | None = ...) -> None: ...
def __iter__(self) -> Self: ...
def __next__(self) -> _T: ...