Commit 62fa51f1 authored by Carl Bordum Hansen's avatar Carl Bordum Hansen Committed by Miss Islington (bot)

Fix typos and improve grammar in threading.Barrier docstrings (GH-12210)

parent 1b304f99
...@@ -568,8 +568,8 @@ class Barrier: ...@@ -568,8 +568,8 @@ class Barrier:
"""Implements a Barrier. """Implements a Barrier.
Useful for synchronizing a fixed number of threads at known synchronization Useful for synchronizing a fixed number of threads at known synchronization
points. Threads block on 'wait()' and are simultaneously once they have all points. Threads block on 'wait()' and are simultaneously awoken once they
made that call. have all made that call.
""" """
...@@ -578,7 +578,7 @@ class Barrier: ...@@ -578,7 +578,7 @@ class Barrier:
'action' is a callable which, when supplied, will be called by one of '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 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. default for all subsequent 'wait()' calls.
""" """
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment