From: Paul F. D. <pa...@pf...> - 2001-04-12 16:52:54
|
-----Original Message----- From: num...@li... [mailto:num...@li...]On Behalf Of Clay Spence Sent: Thursday, April 12, 2001 8:13 AM To: numpy-discussion Subject: [Numpy-discussion] RandArray initialization and docs <snip> 2) The example in the documentation on negative strides in slices is incorrect, or old. It says: >>> a = reshape(arrayrange(9),(3,3)) >>> print a[2:-1, 0] [6 3 0] That's not the result I get. I think two colons were wanted there. --- Corrected in my sources, thank you. The change will migrate into the next release of the manual. |