def __repr__(self):
        """The 'official' string representation of the Quaternion object.

        This is a string representation of a valid Python expression that could be used
        to recreate an object with the same value (given an appropriate environment)
        """
        return "Quaternion({}, {}, {}, {})".format(repr(self.q[0]), repr(self.q[1]), repr(self.q[2]), repr(self.q[3]))
def __repr__ ( self ) : return "Quaternion({}, {}, {}, {})" . format ( repr ( self . q [ 0 ] ) , repr ( self . q [ 1 ] ) , repr ( self . q [ 2 ] ) , repr ( self . q [ 3 ] ) )
The 'official' string representation of the Quaternion object.

        This is a string representation of a valid Python expression that could be used
        to recreate an object with the same value (given an appropriate environment)