How to find "in" in the documentation

Tim Chase python.list at tim.thechases.com
Fri Mar 13 17:40:36 EDT 2009


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

It's tough to find those generic keywords.  It happens to be 
documented a bit here:

http://docs.python.org/library/operator.html#operator.contains

http://docs.python.org/reference/expressions.html#id12

HTH,

-tkc






More information about the Python-list mailing list