def transpose(self):
        """ Transpose the matrix. Changes the current matrix """
        
        self.m, self.n = self.n, self.m
        self.rows = [list(item) for item in zip(*self.rows)]
 Transpose the matrix. Changes the current matrix 
recipes/Python/578131_A_simple_Matrix_class/recipe-578131.py