def getExitPoints(self, pt):
        """ Return a list of exit points at point pt """

        # Get neighbour list and return if the point value
        # is 0

        exits = []
        for xx,yy in self.getNeighBours(pt):
            if self.getItem(xx,yy)==0:
                exits.append((xx,yy))

        return exits
 Return a list of exit points at point pt 
recipes/Python/496884_Amaze__objectoriented_maze_generatorsolver/recipe-496884.py