On 8 December 2011 21:50, Ian Kelly <ian.g.ke...@gmail.com> wrote: > You can get the same effect with a float by putting it in a container > object and binding both variables to the same container objects rather > than to the float directly. Then, to change the value, change the > contents of the container object. What you use as a container object > is up to you. Some use a 1-element list, although I find that ugly.
This kind of trick is not often necessary anyway. It may be a sign that there is a better approach to the problem that the OP is trying to solve. -- Arnaud -- http://mail.python.org/mailman/listinfo/python-list