Dennis Lee Bieber <[EMAIL PROTECTED]> wrote:

> On Sun, 12 Nov 2006 01:55:35 +0100, Fredrik Lundh
><[EMAIL PROTECTED]> declaimed the following in comp.lang.python:
> 
> 
>> 
>> ah, good point.  I've updated the FAQ.
>>
>      Ah, but do we dare update the Wikipedia link to include Python as a
> language capable of COMEFROM? <G>

Somebody definitely should. The current wikipedia article contains an 
example in a hypothetical dialect of BASIC ('because an actual example in 
INTERCAL would be too difficult to read'). Somebody should enhance the 
article with the equivalent example in Python which is both easy to read 
and can actually be run:

from goto import goto, comefrom, label

comefrom .repeat
name = raw_input('what is your name? ')
if name:
    print "Hello",name
    label .repeat

print "Goodbye!"

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to