Change mode: unicode to mode: Text (#2398)

Resolves #2397
This commit is contained in:
Teddy Sudol
2018-08-17 16:33:35 -07:00
committed by Jelle Zijlstra
parent b209a649a0
commit 0386f3daec

View File

@@ -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] = ...,