Update: Here is another implementation that uses a Python dictionary. This version merges the lists and only keeps unique entries.
def merge(seq): d = {} for s in seq: for x in s: d[x] = 1 return d.keys()
Copyright © 2006-2008 Corey Goldberg
Disclaimer The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.