The __contains__ method

__contains__(self, item) => bool

Called to implement membership test operators (in and not in). Should return true if item is a member of self, false otherwise. For mapping objects, this should consider the keys of the mapping rather than the values or the key-item pairs.

 

A Django site. this page was rendered by a django application in 0.00s 2012-02-09 22:15:04.160852. hosted by webfaction.