summaryrefslogtreecommitdiff
path: root/docs/index.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/index.rst')
-rw-r--r--docs/index.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/index.rst b/docs/index.rst
index ac006a8..a5d084c 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -1,11 +1,11 @@
-:mod:`futures` --- Asynchronous computation
+:mod:`concurrent.futures` --- Asynchronous computation
===========================================
-.. module:: futures
+.. module:: concurrent.futures
:synopsis: Execute computations asynchronously using threads or processes.
-The :mod:`futures` module provides a high-level interface for asynchronously
-executing callables.
+The :mod:`concurrent.futures` module provides a high-level interface for
+asynchronously executing callables.
The asynchronous execution can be be performed by threads using
:class:`ThreadPoolExecutor` or seperate processes using
@@ -120,7 +120,7 @@ ThreadPoolExecutor Example
^^^^^^^^^^^^^^^^^^^^^^^^^^
::
- import futures
+ from concurrent import futures
import urllib.request
URLS = ['http://www.foxnews.com/',