micropython

tests/call_func_default_redefine.py

189:932777a0111f
2009-02-22 Paul Boddie Removed some parts of the structure documentation since the assignment documentation now covers context transformations more accurately. Moved the production of raw image details to the individual data and program classes. Split the default function parameter tests up into smaller units.
     1 #!/usr/bin/env python     2      3 def f(a, b, c=4):     4     pass     5      6 g = f     7 g(1, c=3, b=2)     8 g(1, 2)     9     10 def g(a, c, b=5):    11     pass    12     13 g(1, c=3, b=2)    14 g(1, 3)    15     16 # vim: tabstop=4 expandtab shiftwidth=4