[Python-checkins] cpython (2.7): #15831: avoid using 3.x syntax for keyword-only args.
ezio.melotti
python-checkins at python.org
Sat Sep 15 03:46:13 CEST 2012
http://hg.python.org/cpython/rev/881acdf9133f
changeset: 79028:881acdf9133f
branch: 2.7
parent: 79025:2291aff20a05
user: Ezio Melotti <ezio.melotti at gmail.com>
date: Sat Sep 15 04:45:57 2012 +0300
summary:
#15831: avoid using 3.x syntax for keyword-only args.
files:
Doc/library/functions.rst | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -779,7 +779,7 @@
:ref:`typememoryview` for more information.
-.. function:: min(iterable, *[, key])
+.. function:: min(iterable[, key])
min(arg1, arg2, *args[, key])
Return the smallest item in an iterable or the smallest of two or more
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list