micropython

tests/operator_add.py

511:3c26bdc2d8e5
2012-05-29 Paul Boddie Fixed/updated instance attributes definition note.
     1 #!/usr/bin/env python     2      3 import operator     4      5 a = 1     6 b = 2     7 c = operator.add(a, b)     8 d = operator.add(operator.add(a, b), c)     9     10 result_3 = c    11 result_6 = d    12     13 # vim: tabstop=4 expandtab shiftwidth=4