@@ -80,14 +80,14 @@ class DictReader(Generic[_T], Iterator[_DictReadMapping[_T | Any, str | Any]]):
8080 restval : str | None = None ,
8181 dialect : _DialectLike = "excel" ,
8282 * ,
83- delimiter : str = ... ,
84- quotechar : str | None = ... ,
85- escapechar : str | None = ... ,
86- doublequote : bool = ... ,
87- skipinitialspace : bool = ... ,
88- lineterminator : str = ... ,
89- quoting : _QuotingType = ... ,
90- strict : bool = ... ,
83+ delimiter : str = "," ,
84+ quotechar : str | None = '"' ,
85+ escapechar : str | None = None ,
86+ doublequote : bool = True ,
87+ skipinitialspace : bool = False ,
88+ lineterminator : str = " \r \n " ,
89+ quoting : _QuotingType = 0 ,
90+ strict : bool = False ,
9191 ) -> None : ...
9292 @overload
9393 def __init__ (
@@ -98,14 +98,14 @@ class DictReader(Generic[_T], Iterator[_DictReadMapping[_T | Any, str | Any]]):
9898 restval : str | None = None ,
9999 dialect : _DialectLike = "excel" ,
100100 * ,
101- delimiter : str = ... ,
102- quotechar : str | None = ... ,
103- escapechar : str | None = ... ,
104- doublequote : bool = ... ,
105- skipinitialspace : bool = ... ,
106- lineterminator : str = ... ,
107- quoting : _QuotingType = ... ,
108- strict : bool = ... ,
101+ delimiter : str = "," ,
102+ quotechar : str | None = '"' ,
103+ escapechar : str | None = None ,
104+ doublequote : bool = True ,
105+ skipinitialspace : bool = False ,
106+ lineterminator : str = " \r \n " ,
107+ quoting : _QuotingType = 0 ,
108+ strict : bool = False ,
109109 ) -> None : ...
110110 def __iter__ (self ) -> Self : ...
111111 def __next__ (self ) -> _DictReadMapping [_T | Any , str | Any ]: ...
@@ -125,14 +125,14 @@ class DictWriter(Generic[_T]):
125125 extrasaction : Literal ["raise" , "ignore" ] = "raise" ,
126126 dialect : _DialectLike = "excel" ,
127127 * ,
128- delimiter : str = ... ,
129- quotechar : str | None = ... ,
130- escapechar : str | None = ... ,
131- doublequote : bool = ... ,
132- skipinitialspace : bool = ... ,
133- lineterminator : str = ... ,
134- quoting : _QuotingType = ... ,
135- strict : bool = ... ,
128+ delimiter : str = "," ,
129+ quotechar : str | None = '"' ,
130+ escapechar : str | None = None ,
131+ doublequote : bool = True ,
132+ skipinitialspace : bool = False ,
133+ lineterminator : str = " \r \n " ,
134+ quoting : _QuotingType = 0 ,
135+ strict : bool = False ,
136136 ) -> None : ...
137137 if sys .version_info >= (3 , 8 ):
138138 def writeheader (self ) -> Any : ...
0 commit comments