From 5f5fa5400498f93cdb1c9a61658a770b3f2e9139 Mon Sep 17 00:00:00 2001 From: Priyank <5903604+cpriyank@users.noreply.github.com> Date: Sun, 13 Dec 2020 12:27:00 -0800 Subject: [PATCH] improved comment that indicates state of Barrier removed extra comma in comment that indicates state of a `Barrier` as it was confusing and breaking the flow while reading --- Lib/threading.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/threading.py b/Lib/threading.py index d96d99a713e..4433f5ef883 100644 --- a/Lib/threading.py +++ b/Lib/threading.py @@ -608,7 +608,7 @@ class Barrier: self._action = action self._timeout = timeout self._parties = parties - self._state = 0 #0 filling, 1, draining, -1 resetting, -2 broken + self._state = 0 # 0 filling, 1 draining, -1 resetting, -2 broken self._count = 0 def wait(self, timeout=None):