Chris <[EMAIL PROTECTED]> wrote: ... > 3) In this example, is t considered mutable or not? > "Tuple are immutable" says the doc, but: > >>> t[0].append(0) > >>> t > ([1, 0], [2]) > > The tuple is immutable but its elements can be mutable: I tend to think > that it means that the tuple is mutable. Indeed, it changed!
Maybe the last page of <http://mail.python.org/pipermail/python-list/2002-April/099227.html> can help with this conceptual issue. Alex -- http://mail.python.org/mailman/listinfo/python-list