On Mon, Dec 1, 2008 at 3:29 PM, Aaron Scott <[EMAIL PROTECTED]> wrote:
> Damn you, Python, and your loose documentation! It never occurred to
> me to actually TRY my pseudocode, since I couldn't find anything on
> that type of statement. Anyway, feel free to ignore me from now on.

I'm not sure where you think the "in" operator should be documented.
It's in the documentation for sequence types:
http://docs.python.org/library/stdtypes.html#sequence-types-str-unicode-list-tuple-buffer-xrange

The tutorial points there too, in its discussion of strings.

It's also in the language reference, in the section on comparision operators:
http://docs.python.org/reference/expressions.html#id12

Was there someplace you were looking that you expected to find
something about the containment operator and couldn't find it?  Maybe
it would be worth adding a "See Also" someplace?

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

Reply via email to