Tuples and immutability
Chris Angelico
rosuav at gmail.com
Fri Mar 7 06:45:54 EST 2014
On Fri, Mar 7, 2014 at 10:38 PM, Peter Otten <__peter__ at web.de> wrote:
> TypeError: 257 is not 257
>
> I'm not sure "help" is the right word here ;)
It doesn't help with non-small integers, yes, but the original case
was a list. Personally, I don't think there are many situations that
would benefit from it, plus it'd be confusing ("I can use += with a
list but not a number, why not?!").
ChrisA
More information about the Python-list
mailing list