How to find "in" in the documentation

Piet van Oostrum piet at
Fri Mar 13 23:14:12 CET 2009

>>>>> tinnews at (t) wrote:

>t> I've had this trouble before, how do I find the details of how "in"
>t> works in the documentation.  E.g. the details of:-

>t>     if string in bigstring:

>t> It gets a mention in the "if" section but not a lot.

It is explained in The Python Language Reference, chapter Expressions,
section Comparisons. At least that's were it is in the 2.6 doc.
Piet van Oostrum <piet at>
URL: [PGP 8DAE142BE17999C4]
Private email: piet at

More information about the Python-list mailing list