From a7785151aa99ce928a64a07e6bb8c9e6fc751a7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Radu=20Matei=20L=C4=83craru?= <40798022+raduml97@users.noreply.github.com> Date: Wed, 5 Jun 2019 10:20:23 +0100 Subject: [PATCH] Make AsyncGeneratorType.aclose() properly return Awaitable[None] (#3032) --- stdlib/3/types.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/3/types.pyi b/stdlib/3/types.pyi index 11ee6004a..73b88899c 100644 --- a/stdlib/3/types.pyi +++ b/stdlib/3/types.pyi @@ -113,7 +113,7 @@ if sys.version_info >= (3, 6): def athrow(self, val: BaseException) -> Awaitable[_T_co]: ... @overload def athrow(self, typ: Type[BaseException], val: BaseException, tb: TracebackType = ...) -> Awaitable[_T_co]: ... - def aclose(self) -> Awaitable[_T_co]: ... + def aclose(self) -> Awaitable[None]: ... class CoroutineType: cr_await: Optional[Any]