'Remove the anchor but don\'t delete it.'

def takeAnchor(self, anchor):

    index = self.__points.index(anchor)
    del self.__points[index]
    del self.__pointPositions[index]
    anchor.destroyed.disconnect(self.__onAnchorDestroyed)
    self.__updatePositions()
    self.setAnchored(bool(self.__points))
    return anchor
