Skip to content

Commit 017a791

Browse files
miss-islingtonambv
andauthored
[typo] Fix threading.Barrier comment that used confusing punctuation (GH-28623) (GH-28625)
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 412ae8a commit 017a791

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/threading.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -634,7 +634,7 @@ def __init__(self, parties, action=None, timeout=None):
634634
self._action = action
635635
self._timeout = timeout
636636
self._parties = parties
637-
self._state = 0 #0 filling, 1, draining, -1 resetting, -2 broken
637+
self._state = 0 # 0 filling, 1 draining, -1 resetting, -2 broken
638638
self._count = 0
639639

640640
def wait(self, timeout=None):

0 commit comments

Comments
 (0)