def pop_point(self, i):
    p = self.points.pop(i)
    dispatcher.send('points changed', sender=self)
    return p
def pop_point(self, i):
    p = self.points.pop(i)
    dispatcher.send('points changed', sender=self)
    return p