I'm coming from Tcl-world ...
Bo M. Maryniuck
b.maryniuk at forbis.lt
Wed Aug 7 03:57:16 EDT 2002
On Tuesday 06 August 2002 21:28, Andreas Leitgeb wrote:
> > try:
> > continue
> once, I tried it, continue didn't work inside a try.
> the python-compiler refused to compile it.
FUD.
Let's be clear. Where exactly "continue" does not working? In "try-except":
>>> for a in xrange(5):
... try:
... print 'continue'
... continue
... print 'break'
... break
... except:
... print 'except'
... break
...
continue
continue
continue
continue
continue
...or in "try-finally":
>>> for a in xrange(5):
... try:
... print 'continue'
... continue
... print 'break'
... break
... finally:
... print 'finally'
... break
...
continue
finally
?
--
Sincerely yours, Bogdan M. Maryniuck
Microsoft is not the answer.
Microsoft is the question.
NO (or Linux) is the answer.
(Taken from a .signature from someone from the UK, source unknown)
More information about the Python-list
mailing list