Remove redundant inheritances from Iterator (#12814)

This commit is contained in:
Stephen Morton
2024-10-15 11:17:34 -07:00
committed by GitHub
parent f08d769f7c
commit 1fb6ebf62b
3 changed files with 7 additions and 7 deletions

View File

@@ -24,7 +24,7 @@ if sys.version_info >= (3, 12):
from _csv import QUOTE_NOTNULL as QUOTE_NOTNULL, QUOTE_STRINGS as QUOTE_STRINGS
from _typeshed import SupportsWrite
from collections.abc import Collection, Iterable, Iterator, Mapping, Sequence
from collections.abc import Collection, Iterable, Mapping, Sequence
from typing import Any, Generic, Literal, TypeVar, overload
from typing_extensions import Self
@@ -66,7 +66,7 @@ class excel(Dialect): ...
class excel_tab(excel): ...
class unix_dialect(Dialect): ...
class DictReader(Iterator[dict[_T | Any, str | Any]], Generic[_T]):
class DictReader(Generic[_T]):
fieldnames: Sequence[_T] | None
restkey: _T | None
restval: str | Any | None