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 2011-06-21 20:51:15.055709. hosted by webfaction.