max(), sum(), next()

Scott David Daniels Scott.Daniels at Acm.Org
Mon Nov 24 16:20:59 EST 2008


David C. Ullrich wrote:
> In article <00d1d60c$0$20302$c3e8da3 at news.astraweb.com>,
>  Steven D'Aprano <steve at REMOVE-THIS-cybersource.com.au> wrote:
> 
>> On Fri, 05 Sep 2008 10:22:22 -0500, David C. Ullrich wrote about why max 
>> and min shouldn't accept a default argument:
>>
>>> Think about all the previously elected female or black presidents of the
>>> US. Which one was the tallest?
>> I know the answer to that one:
>>
>> All of them!
> 
> Heh. Mysteries of the empty set.
> 

_and_, as it turns out, sets of cardinality 1.

--Scott David Daniels   (pleased about the change in cardinality)
Scott.Daniels at Acm.Org



More information about the Python-list mailing list