csv: csv.reader and csv.writer - mark csvfile as positional only (#14350)

This commit is contained in:
Adam Dangoor
2025-06-30 12:43:49 +01:00
committed by GitHub
parent 213e055e85
commit 288b1e591d
+2
View File
@@ -90,6 +90,7 @@ else:
def writer(
csvfile: SupportsWrite[str],
/,
dialect: _DialectLike = "excel",
*,
delimiter: str = ",",
@@ -103,6 +104,7 @@ def writer(
) -> _writer: ...
def reader(
csvfile: Iterable[str],
/,
dialect: _DialectLike = "excel",
*,
delimiter: str = ",",