]> granicus.if.org Git - python/commitdiff
typo
authorKurt B. Kaiser <kbk@shore.net>
Thu, 14 Feb 2008 02:47:50 +0000 (02:47 +0000)
committerKurt B. Kaiser <kbk@shore.net>
Thu, 14 Feb 2008 02:47:50 +0000 (02:47 +0000)
Doc/whatsnew/3.0.rst

index f855d123c672d162dbf977737a35d492953f490f..b132ce3cf7ea4aadf30dab8ebae84ca47f80c5e1 100644 (file)
@@ -142,7 +142,7 @@ changes to rarely used features.)
   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.