var or inout parm?
mh at pixar.com
mh at pixar.com
Wed Dec 10 16:47:18 EST 2008
Chris Rebert <clp at rebertia.com> wrote:
> Not directly possible or encouraged. You can emulate it by sticking
> the value in a container object (e.g. list) though:
Thanks, that's just what I needed. I'm using this to monkeypatch
a test driver into some code that I can't touch, otherwise
I would just have the function return a tuple with the replacement
values.
Cheers!
Mark
--
Mark Harrison
Pixar Animation Studios
More information about the Python-list
mailing list