[Python-Dev] redefining is (original) (raw)

Andrew Koenig ark at acm.org
Tue Mar 23 20:45:03 EST 2004


As I understood it, 'b' and 'c' are supposed to be substitutable in the following example, since 'b' and 'c' will have the same value even after 'a' changes:

a = [] b = (a,) c = (a,)

Correct.



More information about the Python-Dev mailing list