[issue18111] Add a default argument to min & max
Ned Batchelder
report at bugs.python.org
Mon Jun 3 16:13:20 CEST 2013
Ned Batchelder added the comment:
I find the workarounds mentioned here to be baroque and confusing. The concept of a default value to return in the case of an empty iterator is straightforward. I'm +1 on adding this as well.
----------
nosy: +nedbat
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18111>
_______________________________________
More information about the Python-bugs-list
mailing list