mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
The timeout argument of wait and get methods of AsyncResult accepts also None so fix the type specification to include Optional. Accepting None is not an implementation detail as it's clearly documented too: https://docs.python.org/2/library/multiprocessing.html#multiprocessing.pool.AsyncResult https://docs.python.org/3/library/multiprocessing.html#multiprocessing.pool.AsyncResult