def a((b,c,d),e):
Fredrik Lundh
fredrik at pythonware.com
Mon Apr 18 16:39:06 EDT 2005
Michael Spencer wrote:
> See also the source of inspect.getargs for just how much this complicates the
> argument-passing logic!
it doesn't complicate the argument-passing in any way at all -- it complicates
the reverse engineering code a bit, though, since it has to convert the bytecode
for
def f(tmp):
a, b = tmp
...
back to the original source form
def f((a, b)):
...
but that has absolutely nothing whatsoever to do with how argument passing
works at run time.
</F>
More information about the Python-list
mailing list