mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
Fix typo in example of barrier timeouts from r88102
This commit is contained in:
parent
2c3865b210
commit
4934864853
1 changed files with 1 additions and 1 deletions
|
|
@ -874,7 +874,7 @@ released and a :exc:`~threading.BrokenBarrierError` exception is raised::
|
|||
ballots = conduct_election(site)
|
||||
try:
|
||||
all_polls_closed.wait(timeout = midnight - time.now())
|
||||
except BrokenBarrerError:
|
||||
except BrokenBarrierError:
|
||||
lockbox = seal_ballots(ballots)
|
||||
queue.put(lockbox)
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue