mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 12:44:28 +08:00
stdlib: csv.DictReader.fieldnames should be Optional[Sequence[str]] (#3752)
This commit is contained in:
@@ -55,7 +55,7 @@ class DictReader(Iterator[_DRMapping]):
|
||||
reader: _reader
|
||||
dialect: _DialectLike
|
||||
line_num: int
|
||||
fieldnames: Sequence[str]
|
||||
fieldnames: Optional[Sequence[str]]
|
||||
def __init__(
|
||||
self,
|
||||
f: Iterable[Text],
|
||||
|
||||
Reference in New Issue
Block a user