def __call__(self, data):
        """Shuffle and return a new list."""
        with self.use_internal_state():
            return random.sample(data, len(data))
def __call__ ( self , data ) : with self . use_internal_state ( ) : return random . sample ( data , len ( data ) )
Shuffle and return a new list.