Lawrence D'Oliveiro wrote:
It would be nice if Python offered a straightforward equivalent to
...
do /*once*/
{
... do stuff ...
if (check1_failed)
break;
... do even more stuff ...
}
while (false);
... cleanup goes here ...
What's wrong with:
for _ in (None,):
... do stuff ...
if (check1_failed)
break;
... do even more stuff ...
... cleanup ...
--Scott David Daniels
[email protected]
--
http://mail.python.org/mailman/listinfo/python-list
