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.02s 2010-09-02 15:01:04.534513. hosted by webfaction.