Skip to content

Commit f1ca5d7

Browse files
ambvcpriyank
andauthored
[typo] Fix threading.Barrier comment that used confusing punctuation (GH-28623)
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]>
1 parent 6c1154b commit f1ca5d7

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
@@ -649,7 +649,7 @@ def __init__(self, parties, action=None, timeout=None):
649649
self._action = action
650650
self._timeout = timeout
651651
self._parties = parties
652-
self._state = 0 #0 filling, 1, draining, -1 resetting, -2 broken
652+
self._state = 0 # 0 filling, 1 draining, -1 resetting, -2 broken
653653
self._count = 0
654654

655655
def __repr__(self):

0 commit comments

Comments
 (0)