Author: kurt.kaiser Date: Thu Feb 14 03:47:50 2008 New Revision: 60774 Modified: python/branches/py3k/Doc/whatsnew/3.0.rst Log: typo
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 Thu Feb 14 03:47:50 2008 @@ -142,7 +142,7 @@ 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 + argument providing a comparison 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. _______________________________________________ Python-3000-checkins mailing list Python-3000-checkins@python.org http://mail.python.org/mailman/listinfo/python-3000-checkins