Skip to content

Commit c6c778d

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
1 parent a69b73a commit c6c778d

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

stdlib/@tests/test_cases/itertools/check_batched.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
if sys.version_info >= (3, 13):
66
from itertools import batched
7-
87
from typing_extensions import assert_type
98

109
def check_batched_strict_literal() -> None:

stdlib/itertools.pyi

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -348,9 +348,7 @@ if sys.version_info >= (3, 12):
348348
@overload
349349
def __new__(cls, iterable: Iterable[_T], n: Literal[2], *, strict: Literal[True]) -> batched[tuple[_T, _T]]: ...
350350
@overload
351-
def __new__(
352-
cls, iterable: Iterable[_T], n: Literal[3], *, strict: Literal[True]
353-
) -> batched[tuple[_T, _T, _T]]: ...
351+
def __new__(cls, iterable: Iterable[_T], n: Literal[3], *, strict: Literal[True]) -> batched[tuple[_T, _T, _T]]: ...
354352
@overload
355353
def __new__(
356354
cls, iterable: Iterable[_T], n: Literal[4], *, strict: Literal[True]

0 commit comments

Comments
 (0)