var or inout parm?
Bruno Desthuilliers
bruno.42.desthuilliers at websiteburo.invalid
Thu Dec 11 08:22:27 EST 2008
Joe Strout a écrit :
> On Dec 10, 2008, at 4:29 PM, J. Clifford Dyer wrote:
>
>>>>> mh at pixar.com 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 ?-)
More information about the Python-list
mailing list