We're back after a server migration that caused effbot.org to fall over a bit harder than expected. Expect some glitches.

dict.pop

a.pop(k[, x]) a[k] if k in a, else x (and remove k).

dict.pop raises a KeyError when no default value is given and the key is not found. New in version 2.3.