micropython

tests/call_func_extra_unknown.py

435:29c1a9810249
2011-06-26 Paul Boddie Changed the title of generated graphs.
     1 #!/usr/bin/env python     2      3 def f(a, b, *c):     4     return c     5      6 g = f     7      8 r4 = g(1, 2, 3)     9 r5 = g(1, b=2)    10 r6 = g(1, 2, 3, 4)    11     12 def g(a, c, *b):    13     return b    14     15 r7 = g(1, c=2)    16 r8 = g(1, 2, 3, 4)    17     18 result_0 = len(r5)    19 result_1 = len(r4)    20 result_2 = len(r6)    21 result2_0 = len(r7)    22 result2_2 = len(r8)    23     24 # vim: tabstop=4 expandtab shiftwidth=4