def all_dims(self):
        """The dimensions for each of the arrays in this list"""
        return [
            _get_dims(arr) if not isinstance(arr, ArrayList) else
            arr.all_dims
            for arr in self]
def all_dims ( self ) : return [ _get_dims ( arr ) if not isinstance ( arr , ArrayList ) else arr . all_dims for arr in self ]
The dimensions for each of the arrays in this list