Add csv.Dialect to second arg of register_dialect() (#13294)

This commit is contained in:
Jacob Walls
2024-12-27 20:01:09 -08:00
committed by GitHub
parent 5b17f78c32
commit cc65d01b44

View File

@@ -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 = '"',