Skip to content

Commit bfa9466

Browse files
authored
Update Lib/asyncio/locks.py
1 parent 869ee88 commit bfa9466

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Lib/asyncio/locks.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ def __init__(self, parties):
490490
self._state = _BarrierState.FILLING
491491
self._count = 0 # count tasks in Barrier
492492
# index number returned when barrier drains
493-
self._index = self._parties - 1
493+
self._index = self._parties - 1
494494

495495
def __repr__(self):
496496
res = super().__repr__()

0 commit comments

Comments
 (0)