summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorMatt Wheeler <m@funkyhat.org>2018-12-05 21:41:20 (GMT)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2018-12-05 21:41:20 (GMT)
commit40a61da40d252626f8b9ff524d76c1f0ccb3a4f7 (patch)
tree8313ac447f6c514ab88c95e55614b166423b4f97 /Doc
parent7f52415a6d4841d77d3b7853e83b25a22e0048dc (diff)
downloadcpython-40a61da40d252626f8b9ff524d76c1f0ccb3a4f7.zip
cpython-40a61da40d252626f8b9ff524d76c1f0ccb3a4f7.tar.gz
cpython-40a61da40d252626f8b9ff524d76c1f0ccb3a4f7.tar.bz2
Fix typos in concurrent.Futures documentation (GH-10920)
Add a missing word `as` in `as well as an`. Linkify `threading.Thread`.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/concurrent.futures.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/concurrent.futures.rst b/Doc/library/concurrent.futures.rst
index 3890e49..8d6b1e8 100644
--- a/Doc/library/concurrent.futures.rst
+++ b/Doc/library/concurrent.futures.rst
@@ -141,7 +141,7 @@ And::
each worker thread; *initargs* is a tuple of arguments passed to the
initializer. Should *initializer* raise an exception, all currently
pending jobs will raise a :exc:`~concurrent.futures.thread.BrokenThreadPool`,
- as well any attempt to submit more jobs to the pool.
+ as well as any attempt to submit more jobs to the pool.
.. versionchanged:: 3.5
If *max_workers* is ``None`` or
@@ -153,7 +153,7 @@ And::
.. versionadded:: 3.6
The *thread_name_prefix* argument was added to allow users to
- control the threading.Thread names for worker threads created by
+ control the :class:`threading.Thread` names for worker threads created by
the pool for easier debugging.
.. versionchanged:: 3.7