1.1 --- a/docs/invocation.txt Sun Jul 27 02:00:31 2008 +0200
1.2 +++ b/docs/invocation.txt Mon Jul 28 00:26:29 2008 +0200
1.3 @@ -116,6 +116,17 @@
1.4
1.5 <context> is instance: no change
1.6
1.7 +Defaults for unknown callables:
1.8 +
1.9 + f(obj) # f not known at compile-time
1.10 +
1.11 + f -> f
1.12 + -> load context for argument #1
1.13 + obj -> argument #2
1.14 +
1.15 + Then, check the number of arguments and the availability of defaults against
1.16 + the details provided by the callable's structure.
1.17 +
1.18 Functions as methods:
1.19
1.20 def f(x, y, z): ...