micropython

tests/subscripts.py

227:8c504f98e45f
2009-05-24 Paul Boddie Changed the interface to functions and instantiators to expose the body block (after argument checking) instead of an explicit location.
     1 #!/usr/bin/env python     2      3 l = [1, 2, 3]     4 x = l[0]     5 y = l[1]     6 z = l[-1]     7      8 # vim: tabstop=4 expandtab shiftwidth=4