NumPy

numpy.polynomial.legendre.Legendre.domain

attribute

Legendre.domain = array([-1,  1])