For example, from numpy. http://docs.scipy.org/doc/numpy/reference/generated/numpy.take.html I don't know enough about sphinx to know how hard/easy this is, but it may be nice.