Added Optional (#3125)

Fixes #3124
This commit is contained in:
William Ayd
2019-07-17 01:08:46 -07:00
committed by Sebastian Rittau
parent 3ad3ed82c7
commit 8e89faa90f

View File

@@ -159,7 +159,7 @@ class TextIOWrapper(TextIO):
def __init__(
self,
buffer: IO[bytes],
encoding: str = ...,
encoding: Optional[str] = ...,
errors: Optional[str] = ...,
newline: Optional[str] = ...,
line_buffering: bool = ...,