aima/csp.py
def support_pruning(self):
        """Make sure we can prune values from domains. (We want to pay
        for this only if we use it.)"""
        if self.curr_domains is None:
            self.curr_domains = dict((v, list(self.domains[v]))
                                     for v in self.vars)
def support_pruning(self):
        """Make sure we can prune values from domains. (We want to pay
        for this only if we use it.)"""
        if self.curr_domains is None:
            self.curr_domains = dict((v, list(self.domains[v]))
                                     for v in self.vars)
def support_pruning ( self ) : if self . curr_domains is None : self . curr_domains = dict ( ( v , list ( self . domains [ v ] ) ) for v in self . vars )
Make sure we can prune values from domains. (We want to pay
        for this only if we use it.)
Make sure we can prune values from domains . ( We want to pay for this only if we use it . )