"Try:" which only encompasses head of compound statement

Ben Finney bignose+hates-spam at benfinney.id.au
Tue Aug 28 01:14:08 EDT 2007


Scott David Daniels <daniels at dsl-only.net> writes:

> Actually, this will be followed by some foolishness because
> (1) [the "print" format argument was wrong]
> and
> (2) [the code attempts to loop over the failed input file anyway]

You're right. Shame on me for posting untested code snippets, Thanks
for the catch.

-- 
 \            "There was a point to this story, but it has temporarily |
  `\                 escaped the chronicler's mind."  -- Douglas Adams |
_o__)                                                                  |
Ben Finney



More information about the Python-list mailing list