max(), sum(), next()

bearophileHUGS at lycos.com bearophileHUGS at lycos.com
Thu Sep 4 15:42:21 EDT 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?

Bye,
bearophile



More information about the Python-list mailing list