3oqg
last updated 3 years ago by effbot #
"Note that comparing objects of different types is legal"
That's not entirely correct. For example, if you compare a unicode string to an 8-bit string with non-ASCII data, you get a UnicodeDecodeError exception.
