On Fri, 05 Oct 2007 19:51:05 +1300, Lawrence D'Oliveiro wrote:

> There is no sense in which any Python object can "contain" any other.

>>> L = [1, 2, 3]
>>> 2 in L
True
>>> L.__contains__(3)
True



-- 
Steven.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to