Dear Lars, dear Robert,
> The explanation is hidden in a footnote in the tutorial. Please see
> "Defining Functions" in "More Control Flow Tools" in the Python
> Tutorial:http://docs.python.org/tutorial/controlflow.html#defining-functions
That part of the documentation seems misleading to me and ought to be
changed, IMHO.
I mean, it is argued that any call-by-reference is in fact a call-by-
value because an object reference *is* a value, after all...
("arguments are passed using call by value (where the value is always
an object reference, not the value of the object).")
Is there a better way to hide a pitfall :-?
Cheers,
Simon
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---