How to find "in" in the documentation

Colin J. Williams cjw at ncf.ca
Sat Mar 14 12:08:24 EDT 2009


Tim Golden wrote:
> 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
Thanks. "in" is now in the index twice, 
but I wasn't able to follow the links.

I trust that the improved docs will go 
back to 2.6, unless 2.7 is almost ready.

Colin W



More information about the Python-list mailing list