code: def ClearStopTimes(self):
      
      cursor = self._schedule._connection.cursor()
      cursor.execute('DELETE FROM stop_times WHERE trip_id=?', (self.trip_id,))
docs: Remove all stop times from this trip.
  
      StopTime objects previously returned by GetStopTimes are unchanged but are
      no longer associated with this trip.