tests/methods_bound.py | raw changeset files shortlog |
1.1 --- a/tests/methods_bound.py Mon Nov 21 19:03:07 2016 +0100 1.2 +++ b/tests/methods_bound.py Mon Nov 21 19:03:20 2016 +0100 1.3 @@ -9,6 +9,7 @@ 1.4 return obj.m 1.5 1.6 c = C() 1.7 -result1 = f(c, 1) 1.8 +print f(c, 1) # 1 1.9 +print f(c, 0)(2) # 2 1.10 fn = f(c, 0) 1.11 -result2 = fn(2) 1.12 +print fn(2) # 2