diff --git a/stdlib/2/_io.pyi b/stdlib/2/_io.pyi index 55c7e8fa2..37035ae67 100644 --- a/stdlib/2/_io.pyi +++ b/stdlib/2/_io.pyi @@ -175,7 +175,7 @@ class TextIOWrapper(_TextIOBase): write_through: bool = ...) -> None: ... def open(file: Union[str, unicode, int], - mode: unicode = ..., + mode: Text = ..., buffering: int = ..., encoding: Optional[Text] = ..., errors: Optional[Text] = ...,