Fix type stubs in streams.pyi (#1252)

This commit is contained in:
Sebastian Meßmer
2017-05-24 07:14:41 +01:00
committed by Jelle Zijlstra
parent 70363c27a7
commit 3cfc146223

View File

@@ -95,7 +95,7 @@ class StreamReader:
def set_transport(self, transport: transports.BaseTransport) -> None: ...
def feed_eof(self) -> None: ...
def at_eof(self) -> bool: ...
def feed_data(self, data: bytes): ...
def feed_data(self, data: bytes) -> None: ...
@coroutines.coroutine
def readline(self) -> Generator[Any, None, bytes]: ...
@coroutines.coroutine
@@ -103,4 +103,4 @@ class StreamReader:
@coroutines.coroutine
def read(self, n: int = ...) -> Generator[Any, None, bytes]: ...
@coroutines.coroutine
def readexactly(self, n) -> Generator[Any, None, bytes]: ...
def readexactly(self, n: int) -> Generator[Any, None, bytes]: ...