def __cmp__(self, other):<EOL>
<EOL><INDENT>if self < other:<EOL><INDENT>return -<NUM_LIT:1><EOL><DEDENT><DEDENT>return NotImplemented<EOL>
Return negative if self < other, zero if self == other, positive if self > other.