2006-12-02 | paulb | file changeset files shortlog | Introduced type "merging" for attributes, rather than replacement which is not likely to be correct generally. Introduced empty type lists for unannotated arguments; such arguments may be subsequently annotated when completing recursive analysis. |
paulb@23 | 1 | def g(a, b, c, d, e): |
paulb@23 | 2 | pass |
paulb@23 | 3 | |
paulb@14 | 4 | def f(a, b, c=2, *d, **e): |
paulb@23 | 5 | return g(a, b, c, d, e) |
paulb@23 | 6 | |
paulb@23 | 7 | f(1, 2) |
paulb@23 | 8 | f("1", "2") |