some random reflections of a "Python newbie": (2) language issues
Tim Peters
tim_one at email.msn.com
Fri Dec 10 03:48:46 EST 1999
More information about the Python-list mailing list
Fri Dec 10 03:48:46 EST 1999
- Previous message (by thread): some random reflections of a "Python newbie": (2) language issues
- Next message (by thread): some random reflections of a "Python newbie": (2) language issues
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
[some moron posing as me] > "if a in X:" currently works only if X is a list, tuple or string. In > Python 1.6 it's supposed to work too if X is an instance of a class that > supports the special __contains__ method; see the 1.6 docs, > preferably after they're written <wink>. You can tell that wasn't me because the first claim is wrong! I expect I wrote the rest of it, though. sometimes-infallibility-has-to-be-taken-on-faith-ly y'rs - tim
- Previous message (by thread): some random reflections of a "Python newbie": (2) language issues
- Next message (by thread): some random reflections of a "Python newbie": (2) language issues
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list