]> granicus.if.org Git - python/commitdiff
bpo-31191: Improve grammar in threading.Barrier docs (GH-3080)
authorSaurabh Chaturvedi <saurabh.chaturvedi63@gmail.com>
Mon, 14 Aug 2017 18:54:53 +0000 (00:24 +0530)
committerMariatta <Mariatta@users.noreply.github.com>
Mon, 14 Aug 2017 18:54:53 +0000 (11:54 -0700)
Doc/library/threading.rst

index cda859fe4cbd3a09579610b66735b20dd4f3e464..021e29e7124840c81e9f6956cf26261eca50e15a 100644 (file)
@@ -875,8 +875,8 @@ Barrier Objects
 This class provides a simple synchronization primitive for use by a fixed number
 of threads that need to wait for each other.  Each of the threads tries to pass
 the barrier by calling the :meth:`~Barrier.wait` method and will block until
-all of the threads have made the call.  At this points, the threads are released
-simultaneously.
+all of the threads have made their :meth:`~Barrier.wait` calls. At this point,
+the threads are released simultaneously.
 
 The barrier can be reused any number of times for the same number of threads.