Checking a string against multiple matches
malaclypse2 at gmail.com
Mon Dec 1 21:53:23 CET 2008
On Mon, Dec 1, 2008 at 3:29 PM, Aaron Scott <aaron.hildebrandt at gmail.com> 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:
The tutorial points there too, in its discussion of strings.
It's also in the language reference, in the section on comparision operators:
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?
More information about the Python-list