]> granicus.if.org Git - python/commitdiff
Fix typo in example of barrier timeouts from r88102
authorDavid Malcolm <dmalcolm@redhat.com>
Tue, 18 Jan 2011 23:45:53 +0000 (23:45 +0000)
committerDavid Malcolm <dmalcolm@redhat.com>
Tue, 18 Jan 2011 23:45:53 +0000 (23:45 +0000)
Doc/whatsnew/3.2.rst

index b53f1a3e611b5fbff6f2df935ad03886cd5d9fe0..f0a8fc08a567ddc6316e5bd64b6f914bfed4875d 100644 (file)
@@ -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: