(self)
return rest == '0'*len(rest)
Returns whether self is an integer
Returns whether self is an integer
Returns whether self is an integer
def _isinteger(self):
        """Returns whether self is an integer"""
        if self._is_special:
            return False
        if self._exp >= 0:
            return True
        rest = self._int[self._exp:]
        return rest == '0'*len(rest)
def _isinteger ( self ) : if self . _is_special : return False if self . _exp >= 0 : return True rest = self . _int [ self . _exp : ] return rest == '0' * len ( rest )