mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 12:44:28 +08:00
The concurrent.futures.Future class's set_exception() method might be called with a BaseException that is not an Exception, so change set_exception()'s parameter type from Exception to BaseException. The exception set via set_exception() is returned by exception(), so change exception()'s return type from Exception to BaseException.