From b105a86f7956df259c0e424555c12569e4fbbad8 Mon Sep 17 00:00:00 2001 From: Will Ayd Date: Tue, 16 Jul 2019 14:49:22 -0700 Subject: [PATCH] Added Optional --- stdlib/3/io.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/3/io.pyi b/stdlib/3/io.pyi index 903fab2f6f93..e6489028151f 100644 --- a/stdlib/3/io.pyi +++ b/stdlib/3/io.pyi @@ -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 = ...,