Fix missing colon in StreamHandler.stream type annotation (#1753)

The missing colon in the variable type annotation means that the type of stream is currently incorrectly determined to be of type ellipsis, rather than IO[str].
This commit is contained in:
Ben Leslie
2017-11-18 17:57:55 -06:00
committed by Guido van Rossum
parent 821c765991
commit 7806420105

View File

@@ -366,7 +366,7 @@ if sys.version_info >= (3,):
class StreamHandler(Handler):
stream = ... # type IO[str]
stream = ... # type: IO[str]
if sys.version_info >= (3,):
terminator = ... # type: str
def __init__(self, stream: Optional[IO[str]] = ...) -> None: ...