code: def remove(self, w):
          '''remove a waypoint'''
          self.wpoints.remove(w)
          self.last_change = time.time()
          self.reindex(f remove(self, w):
          '''remove a waypoint'''
          self.wpoints.remove(w)
          self.last_change = time.time()
          self.reindex()
docs: remove a waypoint