(self)
return '%s(%s, %s)' % (self.__class__.__name__,
                               self._numerator, self._denominator)
repr(self)
repr(self)
repr ( self )
def __repr__(self):
        """repr(self)"""
        return '%s(%s, %s)' % (self.__class__.__name__,
                               self._numerator, self._denominator)
def __repr__ ( self ) : return '%s(%s, %s)' % ( self . __class__ . __name__ , self . _numerator , self . _denominator )