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-09-02 15:21:05.888631. hosted by webfaction.