code: def point2upoint(point):
      
      upoint = [set(), set()]
      for v, val in point.items():
          upoint[val].add(v.uniqid)
      upoint[0] = frozenset(upoint[0])
      upoint[1] = frozenset(upoint[1])
      return tuple(upoint)
docs: Convert *point* into an untyped point.