Thanks for that Fredrik, that's clear. That's actually a pretty nice feature as it's nicely optimised.
>>> a = 10 >>> c = 10 >>> a is c True >>> c = c +1 >>> a is c False >>> Cheers, Tony -- http://mail.python.org/mailman/listinfo/python-list
Thanks for that Fredrik, that's clear. That's actually a pretty nice feature as it's nicely optimised.
>>> a = 10 >>> c = 10 >>> a is c True >>> c = c +1 >>> a is c False >>> Cheers, Tony -- http://mail.python.org/mailman/listinfo/python-list