]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Improve formatting for arg names in previous checkin.
authorKurt B. Kaiser <kbk@shore.net>
Wed, 13 Feb 2008 18:03:11 +0000 (18:03 +0000)
committerKurt B. Kaiser <kbk@shore.net>
Wed, 13 Feb 2008 18:03:11 +0000 (18:03 +0000)
Doc/whatsnew/3.0.rst

index ace0199bca9cf3261b9c55549186be6494bccdf6..f855d123c672d162dbf977737a35d492953f490f 100644 (file)
@@ -141,9 +141,9 @@ changes to rarely used features.)
   :meth:`dict.values` return views instead of lists.  For example, this no
   longer works: ``k = d.keys(); k.sort()``.  Use ``k = sorted(d)`` instead.
 
-* :meth:`builtin.sorted` and :meth:`list.sort` no longer accept the `cmp`
-  argument providing a comparision function.  Use the `key` argument
-  instead. N.B. the `key` and `reverse` arguments are now "keyword-only".
+* :meth:`builtin.sorted` and :meth:`list.sort` no longer accept the *cmp*
+  argument providing a comparision function.  Use the *key* argument
+  instead. N.B. the *key* and *reverse* arguments are now "keyword-only".
 
 * ``1/2`` returns a float.  Use ``1//2`` to get the truncating behavior.