code: def _iter_restrict(self, zeros, ones):
          
          inputs = list(self.inputs)
          unmapped = dict()
          for i, v in enumerate(self.inputs):
              if v in zeros:
                  inputs[i] = 0
              elif v in ones:
                  inputs[i] = 1
              else:
                  unmapped[v] = i
          vs = sorted(unmapped.keys())
          for num in range(1 << len(vs)):
              for v, val in boolfunc.num2point(num, vs).items():
                  inputs[unmapped[v]] = val
              yield sum((val << i) for i, val in enumerate(inputs))
docs: Iterate through indices of all table entries that vary.