tests/operator_add.py | raw changeset files shortlog |
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/tests/operator_add.py Sun Jul 11 01:17:11 2010 +0200 1.3 @@ -0,0 +1,13 @@ 1.4 +#!/usr/bin/env python 1.5 + 1.6 +import operator 1.7 + 1.8 +a = 1 1.9 +b = 2 1.10 +c = operator.add(a, b) 1.11 +d = operator.add(operator.add(a, b), c) 1.12 + 1.13 +result_3 = c 1.14 +result_6 = d 1.15 + 1.16 +# vim: tabstop=4 expandtab shiftwidth=4