Remove duplicate definitions in sub-classes (#8594)

This commit is contained in:
Nikita Sobolev
2022-08-26 18:10:55 +03:00
committed by GitHub
parent d91e5f0eff
commit 0259068ad6
36 changed files with 25 additions and 235 deletions

View File

@@ -60,24 +60,9 @@ __all__ = [
_T = TypeVar("_T")
class excel(Dialect):
delimiter: str
quotechar: str
doublequote: bool
skipinitialspace: bool
lineterminator: str
quoting: _QuotingType
class excel_tab(excel):
delimiter: str
class unix_dialect(Dialect):
delimiter: str
quotechar: str
doublequote: bool
skipinitialspace: bool
lineterminator: str
quoting: _QuotingType
class excel(Dialect): ...
class excel_tab(excel): ...
class unix_dialect(Dialect): ...
class DictReader(Generic[_T], Iterator[_DictReadMapping[_T | Any, str | Any]]):
fieldnames: Sequence[_T] | None