關於setitem

from operator import setitem def distinct(l): d = {} map(setitem, (d,)*len(l), l, []) return d.keys() 這段代碼中的map(setitem,(d,)*len(l),l,[]) 等同於接近於 for a in [d]:      for b in l:           a[
相關文章
相關標籤/搜索