On 2/9/2010 12:12 AM, Alf P. Steinbach wrote:
As far as the language spec is concerned the argument passing mechanism
seems to me to be identical to assignments, not just "very much like".
Except for the cross-namespace nature of the assignment, yes. Glad you
agree.
Your phrase "or objects derived therefrom" seems to imply that immutable
objects can be copied
No. Given
def f(*args, **kwds): print(args, kwds)
the objects bound to args and kwds are a tuple and dict *derived* from
(that collect together) the objects passed.
Terry Jan Reedy
--
http://mail.python.org/mailman/listinfo/python-list