micropython

tests/list_assign_nested.py

438:b547786f38c7
2011-07-02 Paul Boddie Moved some code generation methods into a new Assembler class. Separated sequence element storage into a separate method which may form the basis of a native library routine.
     1 #!/usr/bin/env python     2      3 [d, [e, f], g] = [4, [5, 6], 7]     4      5 result_4 = d     6 result_5 = e     7 result_6 = f     8 result_7 = g     9     10 # vim: tabstop=4 expandtab shiftwidth=4