summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2014-04-02 07:58:47 (GMT)
committerRaymond Hettinger <python@rcn.com>2014-04-02 07:58:47 (GMT)
commitf4284e45d037162835a5a5bc0bc23645b32da26c (patch)
tree5710463a29b0326f05ab47aa5dfeb41b80886c1a /Doc
parentda4bf8f16a60ae5592c8b95fc9543e28133867ca (diff)
downloadcpython-f4284e45d037162835a5a5bc0bc23645b32da26c.zip
cpython-f4284e45d037162835a5a5bc0bc23645b32da26c.tar.gz
cpython-f4284e45d037162835a5a5bc0bc23645b32da26c.tar.bz2
Documentation nit. List the traditional keyword-only argument first and the default last.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/functions.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
index 9a8c9d7..5c784ce 100644
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -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