"Guido van Rossum" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Curiously, min() and max() successfully use the same overloading. > However, these don't have the same problem, because min() or max() of > one value makes no sense,
The expressions 'min(x)' and 'max(x)', x an ordered set member, both make perfect sense. (And indeed, min([x])==max([x])==x.) But since the result is simply x, the act of *writing* the expression in code (as opposed to expository text) does not make sense. Thanks for the clarification on when this type of overloading can and can't work. Terry Jan Reedy _______________________________________________ Python-3000 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com
