[Numpy-discussion] RandArray initialization and docs

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


-----Original Message-----
From: numpy-discussion-admin at lists.sourceforge.net
[mailto:numpy-discussion-admin at lists.sourceforge.net]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.





More information about the Numpy-discussion mailing list