Colin J. Williams <c...@ncf.ca> wrote: > Piet van Oostrum wrote: > >>>>>> tinn...@isbd.co.uk (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. > > Lots of people have been very helpful > but isn't the OP's real problem > that "in" is not included in the 2.6.1 > Help index? > Yes, I think that is/was my problem. To find the information I had to know that I should look in the Expressions chapter and while that is (possibly) obvious for some things (+, -, AND, OR, etc.) it isn't quite so obvious for "in".
-- Chris Green -- http://mail.python.org/mailman/listinfo/python-list