Skip to content

Commit 3863698

Browse files
author
Kevin Sheppard
committed
TYP: Remove None from quoting
1 parent 53a9e3f commit 3863698

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

pandas-stubs/core/frame.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1931,7 +1931,7 @@ class DataFrame(NDFrame, OpsMixin):
19311931
mode: _str = ...,
19321932
encoding: _str | None = ...,
19331933
compression: _str | Mapping[_str, _str] = ...,
1934-
quoting: CSVQuoting | None = ...,
1934+
quoting: CSVQuoting = ...,
19351935
quotechar: _str = ...,
19361936
line_terminator: _str | None = ...,
19371937
chunksize: int | None = ...,
@@ -1955,7 +1955,7 @@ class DataFrame(NDFrame, OpsMixin):
19551955
mode: _str = ...,
19561956
encoding: _str | None = ...,
19571957
compression: _str | Mapping[_str, _str] = ...,
1958-
quoting: CSVQuoting | None = ...,
1958+
quoting: CSVQuoting = ...,
19591959
quotechar: _str = ...,
19601960
line_terminator: _str | None = ...,
19611961
chunksize: int | None = ...,

pandas-stubs/io/clipboards.pyi

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def read_clipboard(
7272
decimal: str = ...,
7373
lineterminator: str | None = ...,
7474
quotechar: str = ...,
75-
quoting: CSVQuoting | None = ...,
75+
quoting: CSVQuoting = ...,
7676
doublequote: bool = ...,
7777
escapechar: str | None = ...,
7878
comment: str | None = ...,
@@ -138,7 +138,7 @@ def read_clipboard(
138138
decimal: str = ...,
139139
lineterminator: str | None = ...,
140140
quotechar: str = ...,
141-
quoting: CSVQuoting | None = ...,
141+
quoting: CSVQuoting = ...,
142142
doublequote: bool = ...,
143143
escapechar: str | None = ...,
144144
comment: str | None = ...,
@@ -204,7 +204,7 @@ def read_clipboard(
204204
decimal: str = ...,
205205
lineterminator: str | None = ...,
206206
quotechar: str = ...,
207-
quoting: CSVQuoting | None = ...,
207+
quoting: CSVQuoting = ...,
208208
doublequote: bool = ...,
209209
escapechar: str | None = ...,
210210
comment: str | None = ...,

pandas-stubs/io/parsers/readers.pyi

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def read_csv(
7676
decimal: str = ...,
7777
lineterminator: str | None = ...,
7878
quotechar: str = ...,
79-
quoting: CSVQuoting | None = ...,
79+
quoting: CSVQuoting = ...,
8080
doublequote: bool = ...,
8181
escapechar: str | None = ...,
8282
comment: str | None = ...,
@@ -140,7 +140,7 @@ def read_csv(
140140
decimal: str = ...,
141141
lineterminator: str | None = ...,
142142
quotechar: str = ...,
143-
quoting: CSVQuoting | None = ...,
143+
quoting: CSVQuoting = ...,
144144
doublequote: bool = ...,
145145
escapechar: str | None = ...,
146146
comment: str | None = ...,
@@ -204,7 +204,7 @@ def read_csv(
204204
decimal: str = ...,
205205
lineterminator: str | None = ...,
206206
quotechar: str = ...,
207-
quoting: CSVQuoting | None = ...,
207+
quoting: CSVQuoting = ...,
208208
doublequote: bool = ...,
209209
escapechar: str | None = ...,
210210
comment: str | None = ...,
@@ -267,7 +267,7 @@ def read_table(
267267
decimal: str = ...,
268268
lineterminator: str | None = ...,
269269
quotechar: str = ...,
270-
quoting: CSVQuoting | None = ...,
270+
quoting: CSVQuoting = ...,
271271
doublequote: bool = ...,
272272
escapechar: str | None = ...,
273273
comment: str | None = ...,
@@ -330,7 +330,7 @@ def read_table(
330330
decimal: str = ...,
331331
lineterminator: str | None = ...,
332332
quotechar: str = ...,
333-
quoting: CSVQuoting | None = ...,
333+
quoting: CSVQuoting = ...,
334334
doublequote: bool = ...,
335335
escapechar: str | None = ...,
336336
comment: str | None = ...,
@@ -393,7 +393,7 @@ def read_table(
393393
decimal: str = ...,
394394
lineterminator: str | None = ...,
395395
quotechar: str = ...,
396-
quoting: CSVQuoting | None = ...,
396+
quoting: CSVQuoting = ...,
397397
doublequote: bool = ...,
398398
escapechar: str | None = ...,
399399
comment: str | None = ...,

0 commit comments

Comments
 (0)