mirror of
https://github.com/python/cpython.git
synced 2024-11-28 12:31:14 +08:00
[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 <5903604+cpriyank@users.noreply.github.com>
This commit is contained in:
parent
6c1154b9de
commit
f1ca5d7f61
@ -649,7 +649,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 __repr__(self):
|
||||
|
Loading…
Reference in New Issue
Block a user