diff options
author | Kurt B. Kaiser <kbk@shore.net> | 2008-02-13 18:03:11 (GMT) |
---|---|---|
committer | Kurt B. Kaiser <kbk@shore.net> | 2008-02-13 18:03:11 (GMT) |
commit | 2bc6b5eb369b70a068f8de8728914467bb35b017 (patch) | |
tree | 8ab1387a2dd7f518bacda6249654c13cb892ea92 /Doc/whatsnew/3.0.rst | |
parent | a1401012166fa66ccc2f8c107730c6f71b0c9f75 (diff) | |
download | cpython-2bc6b5eb369b70a068f8de8728914467bb35b017.zip cpython-2bc6b5eb369b70a068f8de8728914467bb35b017.tar.gz cpython-2bc6b5eb369b70a068f8de8728914467bb35b017.tar.bz2 |
Improve formatting for arg names in previous checkin.
Diffstat (limited to 'Doc/whatsnew/3.0.rst')
-rw-r--r-- | Doc/whatsnew/3.0.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/whatsnew/3.0.rst b/Doc/whatsnew/3.0.rst index ace0199..f855d12 100644 --- a/Doc/whatsnew/3.0.rst +++ b/Doc/whatsnew/3.0.rst @@ -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. |