@@ -47,7 +47,7 @@ Executor Objects
4747 * *func * is executed asynchronously and several calls to
4848 *func * may be made concurrently.
4949
50- The returned iterator raises a :exc: `concurrent.futures. TimeoutError `
50+ The returned iterator raises a :exc: `TimeoutError `
5151 if :meth: `~iterator.__next__ ` is called and the result isn't available
5252 after *timeout * seconds from the original call to :meth: `Executor.map `.
5353 *timeout * can be an int or a float. If *timeout * is not specified or
@@ -352,7 +352,7 @@ The :class:`Future` class encapsulates the asynchronous execution of a callable.
352352 Return the value returned by the call. If the call hasn't yet completed
353353 then this method will wait up to *timeout * seconds. If the call hasn't
354354 completed in *timeout * seconds, then a
355- :exc: `concurrent.futures. TimeoutError ` will be raised. *timeout * can be
355+ :exc: `TimeoutError ` will be raised. *timeout * can be
356356 an int or float. If *timeout * is not specified or ``None ``, there is no
357357 limit to the wait time.
358358
@@ -366,7 +366,7 @@ The :class:`Future` class encapsulates the asynchronous execution of a callable.
366366 Return the exception raised by the call. If the call hasn't yet
367367 completed then this method will wait up to *timeout * seconds. If the
368368 call hasn't completed in *timeout * seconds, then a
369- :exc: `concurrent.futures. TimeoutError ` will be raised. *timeout * can be
369+ :exc: `TimeoutError ` will be raised. *timeout * can be
370370 an int or float. If *timeout * is not specified or ``None ``, there is no
371371 limit to the wait time.
372372
@@ -482,7 +482,7 @@ Module Functions
482482 they complete (finished or cancelled futures). Any futures given by *fs * that
483483 are duplicated will be returned once. Any futures that completed before
484484 :func: `as_completed ` is called will be yielded first. The returned iterator
485- raises a :exc: `concurrent.futures. TimeoutError ` if :meth: `~iterator.__next__ `
485+ raises a :exc: `TimeoutError ` if :meth: `~iterator.__next__ `
486486 is called and the result isn't available after *timeout * seconds from the
487487 original call to :func: `as_completed `. *timeout * can be an int or float. If
488488 *timeout * is not specified or ``None ``, there is no limit to the wait time.
@@ -506,7 +506,13 @@ Exception classes
506506
507507.. exception :: TimeoutError
508508
509- Raised when a future operation exceeds the given timeout.
509+ A deprecated alias of :exc: `TimeoutError `,
510+ raised when a future operation exceeds the given timeout.
511+
512+ .. versionchanged :: 3.11
513+
514+ This class was made an alias of :exc: `TimeoutError `.
515+
510516
511517.. exception :: BrokenExecutor
512518
0 commit comments