Fix typos in concurrent.Futures documentation (GH-10920)

Add a missing word `as` in `as well as an`.
Linkify `threading.Thread`.
(cherry picked from commit 40a61da40d)

Co-authored-by: Matt Wheeler <m@funkyhat.org>
This commit is contained in:
Miss Islington (bot) 2018-12-05 14:17:28 -08:00 committed by GitHub
parent 3451078190
commit 022d7bc7cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -141,7 +141,7 @@ And::
each worker thread; *initargs* is a tuple of arguments passed to the each worker thread; *initargs* is a tuple of arguments passed to the
initializer. Should *initializer* raise an exception, all currently initializer. Should *initializer* raise an exception, all currently
pending jobs will raise a :exc:`~concurrent.futures.thread.BrokenThreadPool`, 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 .. versionchanged:: 3.5
If *max_workers* is ``None`` or If *max_workers* is ``None`` or
@ -153,7 +153,7 @@ And::
.. versionadded:: 3.6 .. versionadded:: 3.6
The *thread_name_prefix* argument was added to allow users to 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. the pool for easier debugging.
.. versionchanged:: 3.7 .. versionchanged:: 3.7