F
Fredrik Lundh
... var.append('1')Christophe said:I think you've made a mistake in your example.>>> constant A = []
>>> def foo(var):
... print var
...
and this ?>>> b = A
>>> foo(b)
>>> foo(b)
constant A = []
print A is A
Obviously, False.
why obviously ? why shouldn't a constant be constant ?
</F>