def pyfunc(x, y, t):
        """Swap array x and y for t number of times
        """
        for i in range(t):
            x, y = y, x
        return x, y
Swap array x and y for t number of times
        
numba/tests/test_dyn_array.py