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.01s 2010-03-18 18:13:11.414253. hosted by webfaction.