![]() |
|
|
+ Search |
![]()
|
Jul 27th, 2000 01:16
unknown unknown, Remco Gerlich
l = [x]*n Does what you do here. I don't know what kind of object x is, but note that this doesn't make *copies* of x; if it's some instance, then all elements of l will be a reference to the same old x. Same for your methods.