[Python-3000-checkins] r60763 - python/branches/py3k/Doc/whatsnew/3.0.rst

kurt.kaiser python-3000-checkins at python.org
Wed Feb 13 19:03:12 CET 2008


Author: kurt.kaiser
Date: Wed Feb 13 19:03:11 2008
New Revision: 60763

Modified:
   python/branches/py3k/Doc/whatsnew/3.0.rst
Log:
Improve formatting for arg names in previous checkin.


Modified: python/branches/py3k/Doc/whatsnew/3.0.rst
==============================================================================
--- python/branches/py3k/Doc/whatsnew/3.0.rst	(original)
+++ python/branches/py3k/Doc/whatsnew/3.0.rst	Wed Feb 13 19:03:11 2008
@@ -141,9 +141,9 @@
   :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.
 


More information about the Python-3000-checkins mailing list