def __init__( self, start_offset=NegativeInfinity, stop_offset=Infinity, annotation=None, ): Timespan.__init__( self, start_offset=start_offset, stop_offset=stop_offset, ) self._annotation = annotation
def __init__( self, start_offset=NegativeInfinity, stop_offset=Infinity, used=False, ): if start_offset is None: start_offset = NegativeInfinity if stop_offset is None: stop_offset = Infinity Timespan.__init__( self, start_offset=start_offset, stop_offset=stop_offset, ) self._used = bool(used)