diff options
author | Raymond Hettinger <python@rcn.com> | 2013-06-25 05:43:02 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2013-06-25 05:43:02 (GMT) |
commit | 4d6018fe4508ed8520d22edc14c54dc9a1782c9f (patch) | |
tree | b614f993b9b7b8cba22a4009cf63a469c443a504 /Misc | |
parent | d7a034bd7553719e554beea1746079ba72333015 (diff) | |
download | cpython-4d6018fe4508ed8520d22edc14c54dc9a1782c9f.zip cpython-4d6018fe4508ed8520d22edc14c54dc9a1782c9f.tar.gz cpython-4d6018fe4508ed8520d22edc14c54dc9a1782c9f.tar.bz2 |
Issue 18111: Add a default argument to min() and max()
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -13,6 +13,10 @@ Core and Builtins - Issue #18184: PyUnicode_FromFormat() and PyUnicode_FromFormatV() now raise OverflowError when an argument of %c format is out of range. +- Issue #18111: The min() and max() functions now support a default argument + to be returned instead of raising a ValueError on an empty sequence. + (Contributed by Julian Berman.) + - Issue #18137: Detect integer overflow on precision in float.__format__() and complex.__format__(). |