micropython

tests/op_iadd.py

530:0f9aa4c4d92c
2012-06-09 Paul Boddie Added an __iter__ method for strings.
     1 #!/usr/bin/env python     2      3 def f(a, b):     4     a += b     5     return a     6      7 a = 1     8 b = 2     9 a += b    10 result_3 = a    11 result_4 = f(b, 2)    12 result_2 = b    13     14 # vim: tabstop=4 expandtab shiftwidth=4