1 #!/usr/bin/env python 2 3 def f(a, b, c=4): 4 return c 5 6 g = f 7 r1 = g(1, c=3, b=2) # -> 3 8 r2 = g(1, 2) # -> 4 9 10 def g(a, c, b=5): 11 return b 12 13 r3 = g(1, c=3, b=2) # -> 2 14 r4 = g(1, 3) # -> 5 15 16 # vim: tabstop=4 expandtab shiftwidth=4