Hi,

>>> a=[[],[]]
[[], []]
>>> a[0].push(1)
[1]
>>> a
[[1], []]

Works great, isn't it ? :)
Now, let's do "the same" with Array.new method:

>>> a=Array.new(2,[])
[[], []]
>>> a[0].push(1)
[1]
>>> a
[[1], [1]]
>>>

It isn't strange for me (I know that kind of behaviour from python), 
but, is it documented anywhere ? I'm just searching for a point of 
reference... ;]

-- 
[ ] gminick (at) underground.org.pl  http://gminick.linuxsecurity.pl/ [ ]
[ "Po prostu lubie poranna samotnosc, bo wtedy kawa smakuje najlepiej." ]