En Fri, 13 Mar 2009 19:46:11 -0200, <tinn...@isbd.co.uk> escribió:
Albert Hopkins <mar...@letterboxes.org> wrote:
On Fri, 2009-03-13 at 21:01 +0000, tinn...@isbd.co.uk wrote:
> 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:

>From http://docs.python.org/reference/expressions.html#in
 That's what I wanted, thanks, I maybe didn't stare hard enough at the
expressions section.

Also, from the interactive interpreter:

help("in")
Comparisons
***********
[...]

Note that you have to use quotes around "in" because it's a keyword, help(in) is invalid.

--
Gabriel Genellina

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to