Delete common entries between two dictionaries

Aahz aahz at
Tue Nov 25 17:51:46 CET 2003

In article <7xn0alwcfr.fsf at>,
Paul Rubin  <> wrote:
>aahz at (Aahz) writes:
>>Paul Rubin:
>>>for k in domains_white():
>>>   if k in domains_black:
>>>      del domains_black[k]
>> Didja try that before posting?....  (I see at least two errors.)
>Oops, editing error (I removed 'keys' which is no longer needed, but
>forgot to remove the parentheses).  No I didn't try it first.
>What's the second error?

Try it and find out!  ;-)
Aahz (aahz at           <*>

Weinberg's Second Law: If builders built buildings the way programmers wrote 
programs, then the first woodpecker that came along would destroy civilization.

More information about the Python-list mailing list