]> granicus.if.org Git - python/commitdiff
Documentation nit. List the traditional keyword-only argument first and the default...
authorRaymond Hettinger <python@rcn.com>
Wed, 2 Apr 2014 07:58:47 +0000 (00:58 -0700)
committerRaymond Hettinger <python@rcn.com>
Wed, 2 Apr 2014 07:58:47 +0000 (00:58 -0700)
Doc/library/functions.rst

index 9a8c9d774e8657ee4c6b8514903ae23bda8151fa..5c784ce5dbb0368638e7de2ef5c06584f68990b6 100644 (file)
@@ -773,7 +773,7 @@ are always available.  They are listed here in alphabetical order.
    already arranged into argument tuples, see :func:`itertools.starmap`\.
 
 
-.. function:: max(iterable, *[, default, key])
+.. function:: max(iterable, *[, key, default])
               max(arg1, arg2, *args[, key])
 
    Return the largest item in an iterable or the largest of two or more
@@ -807,7 +807,7 @@ are always available.  They are listed here in alphabetical order.
    :ref:`typememoryview` for more information.
 
 
-.. function:: min(iterable, *[, default, key])
+.. function:: min(iterable, *[, key, default])
               min(arg1, arg2, *args[, key])
 
    Return the smallest item in an iterable or the smallest of two or more