parameters: (self, other)
docstring: Subtract time or duration from this time
          :param other: :class:`Duration`/:class:`Time`
          :returns: :class:`Duration` if other is a :class:`Time`, :class:`Time` if other is a :class:`Duration`
docstring_summary: Subtract time or duration from this time
          :param other: :class:`Duration`/:class:`Time`
          :returns: :class:`Duration` if other is a :class:`Time`, :class:`Time` if other is a :class:`Duration`
docstring_tokens: Subtract time or duration from this time : param other : : class : Duration / : class : Time : returns : : class : Duration if other is a : class : Time : class : Time if other is a : class : Duration
function: def __sub__(self, other):
          """
          Subtract time or duration from this time
          :param other: :class:`Duration`/:class:`Time`
          :returns: :class:`Duration` if other is a :class:`Time`, :class:`Time` if other is a :class:`Duration`
          """
          if isinstance(other, Time):
              return Duration(self.secs - other.secs, self.nsecs - other.nsecs)
          elif isinstance(other, Duration):
              return Time(self.secs - other.secs, self.nsecs - other.nsecs)
          else:
              return NotImplemented
function_tokens: def __sub__ ( self , other ) : if isinstance ( other , Time ) : return Duration ( self . secs - other . secs , self . nsecs - other . nsecs ) elif isinstance ( other , Duration ) : return Time ( self . secs - other . secs , self . nsecs - other . nsecs ) else : return NotImplemented