From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sat, 9 Mar 2019 17:56:40 +0000 (-0800) Subject: Fix typos and improve grammar in threading.Barrier docstrings (GH-12210) X-Git-Tag: v3.7.3rc1~12 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4e2079d8965f8843f974d32208b06d3d3cb980ef;p=thirdparty%2FPython%2Fcpython.git Fix typos and improve grammar in threading.Barrier docstrings (GH-12210) (cherry picked from commit 62fa51f1216e788310d3118f4259f1b4b1e529fe) Co-authored-by: Carl Bordum Hansen --- diff --git a/Lib/threading.py b/Lib/threading.py index f260a7cceca4..318b3301126a 100644 --- a/Lib/threading.py +++ b/Lib/threading.py @@ -568,8 +568,8 @@ class Barrier: """Implements a Barrier. Useful for synchronizing a fixed number of threads at known synchronization - points. Threads block on 'wait()' and are simultaneously once they have all - made that call. + points. Threads block on 'wait()' and are simultaneously awoken once they + have all made that call. """ @@ -578,7 +578,7 @@ class Barrier: 'action' is a callable which, when supplied, will be called by one of the threads after they have all entered the barrier and just prior to - releasing them all. If a 'timeout' is provided, it is uses as the + releasing them all. If a 'timeout' is provided, it is used as the default for all subsequent 'wait()' calls. """