parameters: (self, args, kws)
docstring: (timedelta64, {int, float}) -> timedelta64
          (timedelta64, timedelta64) -> float
docstring_summary: (timedelta64, {int, float}) -> timedelta64
          (timedelta64, timedelta64) -> float
docstring_tokens: ( timedelta64 { int float } ) - > timedelta64 ( timedelta64 timedelta64 ) - > float
function: def generic(self, args, kws):
          """
          (timedelta64, {int, float}) -> timedelta64
          (timedelta64, timedelta64) -> float
          """
          left, right = args
          if not isinstance(left, types.NPTimedelta):
              return
          if isinstance(right, types.NPTimedelta):
              if (npdatetime.can_cast_timedelta_units(left.unit, right.unit)
                  or npdatetime.can_cast_timedelta_units(right.unit, left.unit)):
                  return signature(types.float64, left, right)
          elif isinstance(right, (types.Float)):
              return signature(left, left, right)
          elif isinstance(right, (types.Integer)):
              # Force integer types to convert to signed because it matches
              # timedelta64 semantics better.
              return signature(left, left, types.int64)
function_tokens: def generic ( self , args , kws ) : left , right = args if not isinstance ( left , types . NPTimedelta ) : return if isinstance ( right , types . NPTimedelta ) : if ( npdatetime . can_cast_timedelta_units ( left . unit , right . unit ) or npdatetime . can_cast_timedelta_units ( right . unit , left . unit ) ) : return signature ( types . float64 , left , right ) elif isinstance ( right , ( types . Float ) ) : return signature ( left , left , right ) elif isinstance ( right , ( types . Integer ) ) : # Force integer types to convert to signed because it matches # timedelta64 semantics better. return signature ( left , left , types . int64 )