From 3b8ca9f6f461c94633a63bb314ce2c1169f61388 Mon Sep 17 00:00:00 2001 From: Saurabh Chaturvedi Date: Sun, 13 Aug 2017 02:06:08 +0530 Subject: [PATCH 1/2] Fix grammar in Barrier's docs --- Doc/library/threading.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/threading.rst b/Doc/library/threading.rst index cda859fe4cbd3a..a621704bbec35f 100644 --- a/Doc/library/threading.rst +++ b/Doc/library/threading.rst @@ -875,7 +875,7 @@ 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 +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. From dc29943a2813a3e36526bd096e24b15ef0f6681d Mon Sep 17 00:00:00 2001 From: Saurabh Chaturvedi Date: Sun, 13 Aug 2017 15:00:06 +0530 Subject: [PATCH 2/2] Add wrapping --- Doc/library/threading.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/library/threading.rst b/Doc/library/threading.rst index a621704bbec35f..021e29e7124840 100644 --- a/Doc/library/threading.rst +++ b/Doc/library/threading.rst @@ -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 their :meth:`~Barrier.wait` calls. At this point, 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.