JuliaLang/julia — pull request #2014 by StefanKarpinski (2013-01-12 05:04:03+00:00)
Title: [RFC] delete!(dict,key,default): return default if key isn't in dict.

Also consistently throw a KeyError in delete!(dict,key) if dict doesn't contain key.

Addresses #1987.