Skip to content

Commit 04cc85e

Browse files
committed
csv: csv.reader and csv.writer - mark csvfile as positional only
1 parent 0c155fe commit 04cc85e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

stdlib/_csv.pyi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ else:
9090

9191
def writer(
9292
csvfile: SupportsWrite[str],
93+
/,
9394
dialect: _DialectLike = "excel",
9495
*,
9596
delimiter: str = ",",
@@ -103,6 +104,7 @@ def writer(
103104
) -> _writer: ...
104105
def reader(
105106
csvfile: Iterable[str],
107+
/,
106108
dialect: _DialectLike = "excel",
107109
*,
108110
delimiter: str = ",",

0 commit comments

Comments
 (0)