Skip to content

Commit 851e8bb

Browse files
committed
Fix register_dialect
1 parent ed8cfba commit 851e8bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/_csv.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def reader(
122122
def register_dialect(
123123
name: str,
124124
/,
125-
dialect: type[Dialect | csv.Dialect] = ...,
125+
dialect: type[Dialect | csv.Dialect] | str = "excel",
126126
*,
127127
delimiter: str = ",",
128128
quotechar: str | None = '"',

0 commit comments

Comments
 (0)