Skip to content

Commit

Permalink
Fix type of Future._exception (#10502)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dreamsorcerer authored Jul 24, 2023
1 parent 21cb2cb commit b325815
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stdlib/asyncio/futures.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def isfuture(obj: object) -> TypeGuard[Future[Any]]: ...
class Future(Awaitable[_T], Iterable[_T]):
_state: str
@property
def _exception(self) -> BaseException: ...
def _exception(self) -> BaseException | None: ...
_blocking: bool
@property
def _log_traceback(self) -> bool: ...
Expand Down

0 comments on commit b325815

Please sign in to comment.