how are strings immutable in python?

ssecorp circularfunc at gmail.com
Sun Jul 6 17:33:03 EDT 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