2006-12-03 | paulb | file changeset files shortlog | Added parameter types to the annotation book-keeping. Moved the annotation count test further into the invocation process, suppressing re-evaluation of default values. Made function namespaces include all known types for each parameter, not just the current invocation's supplied types. |
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") |