"not x in" vs. "x not in"
Greg Ewing
greg at cosc.canterbury.ac.nz
Fri Apr 6 00:14:27 EDT 2001
More information about the Python-list mailing list
Fri Apr 6 00:14:27 EDT 2001
- Previous message (by thread): "not x in" vs. "x not in"
- Next message (by thread): Booleans (was: Conditional operator in Python?)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Kristian Ovaska wrote: > > Why is there a "not in" operator? For clarity? Speed? x not in y is one operation, not (x in y) is two. -- Greg Ewing, Computer Science Dept, University of Canterbury, Christchurch, New Zealand To get my email address, please visit my web page: http://www.cosc.canterbury.ac.nz/~greg
- Previous message (by thread): "not x in" vs. "x not in"
- Next message (by thread): Booleans (was: Conditional operator in Python?)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list