diff options
author | Raymond Hettinger <python@rcn.com> | 2014-04-02 07:58:47 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2014-04-02 07:58:47 (GMT) |
commit | f4284e45d037162835a5a5bc0bc23645b32da26c (patch) | |
tree | 5710463a29b0326f05ab47aa5dfeb41b80886c1a /Doc/library/functions.rst | |
parent | da4bf8f16a60ae5592c8b95fc9543e28133867ca (diff) | |
download | cpython-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/library/functions.rst')
-rw-r--r-- | Doc/library/functions.rst | 4 |
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 |