goto
John Roth
newsgroups at jhrothjr.com
Mon Jul 18 08:55:38 EDT 2005
"Mage" <mage at mage.hu> wrote in message
news:mailman.1854.1121688300.10512.python-list at python.org...
> Hayri ERDENER wrote:
>
>>hi,
>>what is the equivalent of C languages' goto statement in python?
>>best regards
>>
>>
> You really shouldn't use goto.
True.
> Fortunately you can't.
Of course you can. Recent versions of Python have the
ability to change where an element on the call stack will
return to.
Don't ask me to debug such a program unless you
really want my unvarnished opinion of such stupidity.
John Roth
>
> Mage
>
More information about the Python-list
mailing list