#18111: Add What's New entry for max/min default.

This commit is contained in:
R David Murray 2013-06-28 13:31:19 -04:00
parent 37cfb0a920
commit 9a2f139ba0
1 changed files with 3 additions and 0 deletions

View File

@ -140,6 +140,9 @@ Some smaller changes made to the core Python language are:
* Import now raises the new exception :exc:`ModuleNotFoundError` (subclass of
:exc:`ImportError`) when it cannot find something.
* :func:`min` and :func:`max` now accept a *default* argument that can be used
to specify the value they return if the iterable they are evaluating has no
elements. Contributed by Julian Berman in :issue:`18111`.
New Modules