Delete common entries between two dictionaries

David Eppstein eppstein at ics.uci.edu
Mon Nov 24 17:20:30 EST 2003


In article <97ba91-169.ln1 at dman13.dyndns.org>,
 Derrick 'dman' Hudson <dman at dman13.dyndns.org> wrote:

> This would be great for sets, if a set adequately models your data.
> (with two sets, this would simply be  (s1-(s1&s2)))

You mean s1 - s2, no need for that extra &.

-- 
David Eppstein                      http://www.ics.uci.edu/~eppstein/
Univ. of California, Irvine, School of Information & Computer Science




More information about the Python-list mailing list