On Mon, Oct 29, 2012 at 12:46 PM, Paul Rubin <no.email@nospam.invalid> wrote: > andrea crotti <andrea.crott...@gmail.com> writes: >> Also because how doi I make an immutable object in pure Python? > > Numbers in Python are already immutable. What you're really looking for > is a programming style where you don't bind any variable more than once.
No, they were looking for a way to create classes whose instances are immutable. Also, immutability has nothing to do with the presence or lack of for loops. -- Devin -- http://mail.python.org/mailman/listinfo/python-list