dict.get

a.get(k[, x]) a[k] if k in a, else x.

Never raises an exception if k is not in the dictionary, instead it returns x. x is optional; when x is not provided and k is not in the dictionary, None is returned.

 

A Django site. this page was rendered by a django application in 0.02s 2008-09-08 17:48:54.833219. hosted by webfaction.