diff --git a/stdlib/_csv.pyi b/stdlib/_csv.pyi index 826211434..aa9fc5384 100644 --- a/stdlib/_csv.pyi +++ b/stdlib/_csv.pyi @@ -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 = '"',