mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-06 20:24:30 +08:00
Add csv.Dialect to second arg of register_dialect() (#13294)
This commit is contained in:
@@ -115,7 +115,7 @@ def reader(
|
||||
) -> _reader: ...
|
||||
def register_dialect(
|
||||
name: str,
|
||||
dialect: type[Dialect] = ...,
|
||||
dialect: type[Dialect | csv.Dialect] = ...,
|
||||
*,
|
||||
delimiter: str = ",",
|
||||
quotechar: str | None = '"',
|
||||
|
||||
Reference in New Issue
Block a user