max(), sum(), next()

bearophileHUGS at bearophileHUGS at
Thu Sep 4 21:42:21 CEST 2008

David C. Ullrich:
> At least in mathematics, the sum of the elements of
> the empty set _is_ 0, while the maximum element of the
> empty set is undefined.

What do you think about my idea of adding that 'default' argument to
the max()/min() functions?


More information about the Python-list mailing list