Diez B. Roggisch wrote:
I maybe should paraphrase "don't return objects you passed as arguments from a function".
The important thing is that a function shouldn't modify any object unless it's the express purpose of the function to do so. You could call this the "look but don't touch" rule. -- Greg -- http://mail.python.org/mailman/listinfo/python-list