How to find "in" in the documentation

Tim Golden mail at timgolden.me.uk
Sat Mar 14 03:00:55 EDT 2009


Colin J. Williams wrote:
> Piet van Oostrum wrote:
>>>>>>> tinnews at 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?

Well, this may not solve the OP's problem, but the current
(2.7a0) .chm file has a much better index for operators and
keywords. And "in" is in there. If you're interested in
comparing, there's a copy here:

  http://timgolden.me.uk/python/downloads/snapshots/trunk/Python27a0.chm

TJG



More information about the Python-list mailing list