parameters: (self)
return_statement: return 0
docstring: Returns whether the number is infinite
  
          0 if finite or not a number
          1 if +INF
          -1 if -INF
docstring_summary: Returns whether the number is infinite
docstring_tokens: Returns whether the number is infinite
function: def _isinfinity(self):
          """Returns whether the number is infinite
  
          0 if finite or not a number
          1 if +INF
          -1 if -INF
          """
          if self._exp == 'F':
              if self._sign:
                  return -1
              return 1
          return 0
function_tokens: def _isinfinity ( self ) : if self . _exp == 'F' : if self . _sign : return - 1 return 1 return 0