[EMAIL PROTECTED] wrote: > >sure looks like four possible outcomes.< > > Right (but to me four explicit answers seem better than three answers > and an exception still).
def cmp4(a, b): try: return cmp(a, b) except: return None </F> -- http://mail.python.org/mailman/listinfo/python-list