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:
Priyank 2020-12-13 12:27:00 -08:00 committed by GitHub
parent be9e4402db
commit 5f5fa54004
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -608,7 +608,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 wait(self, timeout=None):