From 3cfc146223f11e06858345fce57b848a67401710 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Me=C3=9Fmer?= Date: Wed, 24 May 2017 07:14:41 +0100 Subject: [PATCH] Fix type stubs in streams.pyi (#1252) --- stdlib/3.4/asyncio/streams.pyi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stdlib/3.4/asyncio/streams.pyi b/stdlib/3.4/asyncio/streams.pyi index 4bd027c53..f8ed236b2 100644 --- a/stdlib/3.4/asyncio/streams.pyi +++ b/stdlib/3.4/asyncio/streams.pyi @@ -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]: ...