Consistently use Generic as the last base class (#10610)

This commit is contained in:
Nikita Sobolev
2023-08-28 11:16:54 +03:00
committed by GitHub
parent 3b9ab5e9b1
commit 2c1db00761
15 changed files with 17 additions and 17 deletions

View File

@@ -69,7 +69,7 @@ class excel(Dialect): ...
class excel_tab(excel): ...
class unix_dialect(Dialect): ...
class DictReader(Generic[_T], Iterator[_DictReadMapping[_T | Any, str | Any]]):
class DictReader(Iterator[_DictReadMapping[_T | Any, str | Any]], Generic[_T]):
fieldnames: Sequence[_T] | None
restkey: str | None
restval: str | None