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
This commit is contained in:
parent
be9e4402db
commit
5f5fa54004
|
@ -608,7 +608,7 @@ class Barrier:
|
||||||
self._action = action
|
self._action = action
|
||||||
self._timeout = timeout
|
self._timeout = timeout
|
||||||
self._parties = parties
|
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
|
self._count = 0
|
||||||
|
|
||||||
def wait(self, timeout=None):
|
def wait(self, timeout=None):
|
||||||
|
|
Loading…
Reference in New Issue