[Python-3000] Range literals

Talin talin at acm.org
Tue Aug 8 18:52:36 CEST 2006


I've seen some languages that use a double-dot (..) to mean a range of 
items. This could be syntactic sugar for range(), like so:


    for x in 1..10:
       ...

-- Talin


More information about the Python-3000 mailing list