SciPy

numpy.ndarray.__setslice__

ndarray.__setslice__

x.__setslice__(i, j, y) <==> x[i:j]=y

Use of negative indices is not supported.