--- functions.rst.orig 2010-09-08 20:12:37.000000000 +0100 +++ functions.rst 2010-09-08 20:22:04.000000000 +0100 @@ -684,6 +684,9 @@ used for :meth:`list.sort`. The *key* argument, if supplied, must be in keyword form (for example, ``max(a,b,c,key=func)``). + When the iterable is not empty, this is equivalent to ``sorted(iterable, + key=key, reverse=True)[0]`` + .. versionchanged:: 2.5 Added support for the optional *key* argument. @@ -698,6 +701,9 @@ used for :meth:`list.sort`. The *key* argument, if supplied, must be in keyword form (for example, ``min(a,b,c,key=func)``). + When the iterable is not empty, this is equivalent to ``sorted(iterable, + key=key, reverse=True)[0]`` + .. versionchanged:: 2.5 Added support for the optional *key* argument.