Author: Vincent Legoll <vincent.leg...@idgrilles.fr> Branch: fix-1674 Changeset: r81487:9a96c6616c0e Date: 2015-12-28 16:54 +0100 http://bitbucket.org/pypy/pypy/changeset/9a96c6616c0e/
Log: Better comment for array filtering diff --git a/pypy/module/micronumpy/loop.py b/pypy/module/micronumpy/loop.py --- a/pypy/module/micronumpy/loop.py +++ b/pypy/module/micronumpy/loop.py @@ -685,7 +685,7 @@ arr_dtype = arr.get_dtype() index_dtype = index.get_dtype() # support the deprecated form where - # arr[[True, False, True, ...]] will return arr[0, 2, ...] + # array([True, False, True, ...]) will return array([0, 2, ...]) # by iterating over res_iter, not index_iter while not res_iter.done(res_state): getitem_filter_driver.jit_merge_point(shapelen=shapelen, _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit