[Numpy-discussion] RandArray initialization and docs

Paul F. Dubois paul at pfdubois.com
Thu Apr 12 12:45:37 EDT 2001

-----Original Message-----
From: numpy-discussion-admin at lists.sourceforge.net
[mailto:numpy-discussion-admin at lists.sourceforge.net]On Behalf Of Clay
Sent: Thursday, April 12, 2001 8:13 AM
To: numpy-discussion
Subject: [Numpy-discussion] RandArray initialization and docs


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.

More information about the NumPy-Discussion mailing list