<pyt...@bdurham.com> wrote
No, not a simple way at least. Possibly you can do it with hackery
involving stack frames but I wouldn't recommend that. Either pass
the
values in some kind of container (list, dict, class instance) or
return the new value and assign it in the caller.
That's what I thought. Thank you!
But don't forget that in python you can return multiple values
from a function...
def f():
return 42, 66, 101
a,b,c = f()
HTH,
--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
_______________________________________________
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor