how are strings immutable in python?

ssecorp circularfunc at gmail.com
Sun Jul 6 23:33:03 CEST 2008


so if strings were mutable and i did
a = b = "foo"
and then did
a += "bar"
then a and b would be foobar?



More information about the Python-list mailing list