On 2009-07-24 18:26, greg wrote:
Robert Kern wrote:

a[:0] = array('i', [0])

Not when 'a' is a numpy array rather than an array.array.

That's true, but I got the impression that the OP was
talking about array.array, not numpy.array.

Did you read the Subject: line? :-)

--
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
 that is made terrible by our own mad attempt to interpret it as though it had
 an underlying truth."
  -- Umberto Eco

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to