]> granicus.if.org Git - python/commitdiff
Fix typos in concurrent.Futures documentation (GH-10920)
authorMatt Wheeler <m@funkyhat.org>
Wed, 5 Dec 2018 21:41:20 +0000 (21:41 +0000)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 5 Dec 2018 21:41:20 +0000 (13:41 -0800)
Add a missing word `as` in `as well as an`.
Linkify `threading.Thread`.

Doc/library/concurrent.futures.rst

index 3890e49f597b770fff4915a38cb39493e8a40df4..8d6b1e8d71ff47c9d40a4cf8d077994eed0dd199 100644 (file)
@@ -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