Peter Otten wrote: > Are we talking about the same setdefault()? > > setdefault(...) > D.setdefault(k[,d]) -> D.get(k,d), also set D[k]=d if k not in D
note that it might be spelled "setdefault", but it should be pronounced "get or set". </F> -- http://mail.python.org/mailman/listinfo/python-list