Skip to content

Commit 87ecdb2

Browse files
miss-islingtonambv
andauthored
[typo] Fix threading.Barrier comment that used confusing punctuation (GH-28623) (GH-28626)
Removed extra comma in comment that indicates state of a `Barrier` as it was confusing and breaking the flow while reading. Co-authored-by: Priyank <[email protected]> (cherry picked from commit f1ca5d7) Co-authored-by: Łukasz Langa <[email protected]>
1 parent 1e97145 commit 87ecdb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/threading.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,7 @@ def __init__(self, parties, action=None, timeout=None):
608608
self._action = action
609609
self._timeout = timeout
610610
self._parties = parties
611-
self._state = 0 #0 filling, 1, draining, -1 resetting, -2 broken
611+
self._state = 0 # 0 filling, 1 draining, -1 resetting, -2 broken
612612
self._count = 0
613613

614614
def wait(self, timeout=None):

0 commit comments

Comments
 (0)