1.5.2 for: else:
Donn Cave
donn at u.washington.edu
Wed Jul 28 16:50:34 EDT 1999
wtanksle at dolphin.openprojects.net (William Tanksley) writes:
...
| try:
| ...
| except something:
| ...
| else:
| ...
|
| The else block here executes iff the except blocks don't execute.
Beg to differ - it executes iff the try block executes to completion.
Whether an except block executes or not is immaterial.
Donn Cave, University Computing Services, University of Washington
donn at u.washington.edu
More information about the Python-list
mailing list