[Numpy-discussion] Documentation question.

Charles R Harris charlesr.harris at gmail.com
Wed Feb 1 18:29:04 EST 2012


The macro PyArray_RemoveLargest has been replaced by PyArray_RemoveSmallest
(which seems strange), but I wonder if this documentation still makes sense.

diff --git a/doc/source/user/c-info.beyond-basics.rst b/doc/source/user/
c-info.beyond-basics.rs
index 9ed2ab3..3437985 100644
--- a/doc/source/user/c-info.beyond-basics.rst
+++ b/doc/source/user/c-info.beyond-basics.rst
@@ -189,7 +189,7 @@ feature follows.
         PyArray_MultiIter_NEXT(mobj);
     }

-The function :cfunc:`PyArray_RemoveLargest` ( ``multi`` ) can be used to
+The function :cfunc:`PyArray_RemoveSmallest` ( ``multi`` ) can be used to
 take a multi-iterator object and adjust all the iterators so that
 iteration does not take place over the largest dimension (it makes
 that dimension of size 1). The code being looped over that makes use

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20120201/f24ae02d/attachment.html>


More information about the NumPy-Discussion mailing list