Joe Strout a écrit :
On Dec 10, 2008, at 4:29 PM, J. Clifford Dyer wrote:
[EMAIL PROTECTED] wrote:
How can I make a "var" parm, where the called function can modify
the value of the parameter in the caller?
See Also: the earlier heated debate thread over what evaluation
strategy Python uses (Survey says!: call-by-object).
Oh dear God. PLEASE don't see also that thread. That way lies madness.
Just google for call-by-object, and ignore the hell out of that thread.
Agreed on that point!
Anyway, to the OP, see <http://www.strout.net/info/coding/valref/>
Do you really want to start a new flame war, Joe ?-)
--
http://mail.python.org/mailman/listinfo/python-list