From b3efccc0e7de4c73f3bd009714f3586360baeecb Mon Sep 17 00:00:00 2001 From: Mark Wiebe Date: Tue, 4 Jan 2011 11:49:24 -0800 Subject: ENH: iter: Change nested iteration pattern and add nested_iters Python function Nested iteration now uses a function NpyIter_ResetBasePointers, and the NPY_ITER_OFFSETS flag which was the previous way to do this has been removed. --- numpy/core/numeric.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'numpy/core/numeric.py') diff --git a/numpy/core/numeric.py b/numpy/core/numeric.py index 915dc10fd..62fbd4186 100644 --- a/numpy/core/numeric.py +++ b/numpy/core/numeric.py @@ -1,4 +1,4 @@ -__all__ = ['newaxis', 'ndarray', 'flatiter', 'newiter', 'ufunc', +__all__ = ['newaxis', 'ndarray', 'flatiter', 'newiter', 'nested_iters', 'ufunc', 'arange', 'array', 'zeros', 'empty', 'broadcast', 'dtype', 'fromstring', 'fromfile', 'frombuffer', 'int_asbuffer', 'where', 'argwhere', @@ -55,6 +55,7 @@ BUFSIZE = multiarray.BUFSIZE ndarray = multiarray.ndarray flatiter = multiarray.flatiter newiter = multiarray.newiter +nested_iters = multiarray.nested_iters broadcast = multiarray.broadcast dtype = multiarray.dtype ufunc = type(sin) -- cgit v1.2.1