code: def visit_List(self, node):
          
          if node.elts:
              return list(set(sum([self.visit(elt) for elt in node.elts], [])))
          else:
              return [frozenset()]
docs: List construction depend on each elements type dependency.