def _vindex_slice(block, points):
 points = [(p if isinstance(p, slice) else list(p)) for p in points]
 return block[tuple(points)]

def _vindex_slice ( block , points ) : points = [ ( p if isinstance ( p , slice ) else list ( p ) ) for p in points ] return block [ tuple ( points ) ]
pull out point-wise slices from block .