Skip to content

Commit

Permalink
Make AsyncGeneratorType.aclose() properly return Awaitable[None] (pyt…
Browse files Browse the repository at this point in the history
  • Loading branch information
elradu authored and srittau committed Jun 5, 2019
1 parent 233f2ab commit a778515
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stdlib/3/types.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit a778515

Please sign in to comment.