micropython

tests/xrange.py

253:cda541c40c81
2009-07-12 Paul Boddie Added notes on native functions and the "unused objects" optimisation. Added missing copyright and licensing information. Tidied native function generation slightly.
     1 #!/usr/bin/env python     2      3 xr = xrange(0, 10, 1)     4 result_0 = xr.start     5 result_10 = xr.end     6 result_1 = xr.step     7      8 # vim: tabstop=4 expandtab shiftwidth=4