micropython

tests/op_iadd.py

443:583b1de09eec
2011-07-05 Paul Boddie Simplified ObjectSet merging which seemed to be attempting to combine individual values.
     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