~pythonregexp2.7/python/issue2636-09-01+10

« back to all changes in this revision

Viewing changes to Doc/tutorial/errors.rst

  • Committer: Jeffrey C. "The TimeHorse" Jacobs
  • Date: 2008-09-22 21:39:45 UTC
  • mfrom: (39055.1.33 Regexp-2.7)
  • Revision ID: darklord@timehorse.com-20080922213945-23717m5eiqpamcyn
Merged in changes from the Single-Loop Engine branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
374
374
As you can see, the :keyword:`finally` clause is executed in any event.  The
375
375
:exc:`TypeError` raised by dividing two strings is not handled by the
376
376
:keyword:`except` clause and therefore re-raised after the :keyword:`finally`
377
 
clauses has been executed.
 
377
clause has been executed.
378
378
 
379
379
In real world applications, the :keyword:`finally` clause is useful for
380
380
releasing external resources (such as files or network connections), regardless