2017-03-10 | Paul Boddie | raw files shortlog changelog graph | Merged changes from the default branch. | normal-function-parameters |
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/tests/targets.py Fri Mar 10 23:07:56 2017 +0100 1.3 @@ -0,0 +1,16 @@ 1.4 +class C: 1.5 + def f(x): 1.6 + return x 1.7 + 1.8 + def g(a, b, c): 1.9 + return a 1.10 + 1.11 + def h(x): 1.12 + return x 1.13 + 1.14 +c = C() 1.15 +f = c.f 1.16 +g = c.g 1.17 +h = c.h 1.18 + 1.19 +print g(h(12345), g(f(23456), h(34567), f(45678)), f(56789))