]> granicus.if.org Git - python/commitdiff
Add links to helpful external resources.
authorRaymond Hettinger <python@rcn.com>
Thu, 19 Feb 2009 06:44:30 +0000 (06:44 +0000)
committerRaymond Hettinger <python@rcn.com>
Thu, 19 Feb 2009 06:44:30 +0000 (06:44 +0000)
Doc/library/functions.rst
Doc/library/math.rst

index 39aab162a800f747fa081852da82c65231f7d3fd..b735c8f3678778ae19ea096f09fd68f8cabcbab1 100644 (file)
@@ -973,6 +973,9 @@ are always available.  They are listed here in alphabetical order.
    *reverse* is a boolean value.  If set to ``True``, then the list elements are
    sorted as if each comparison were reversed.
 
+   To convert an old-style *cmp* function to a *key* function, see the
+   `CmpToKey recipe in the ASPN cookbook
+   <http://code.activestate.com/recipes/576653/>`_\.
 
 .. function:: staticmethod(function)
 
index 55e03bfa5574089cade2b994808e2d6155811660..d59296a2dbd4f587ed4e08e1e93fa999b2eb95dc 100644 (file)
@@ -93,6 +93,10 @@ Number-theoretic and representation functions
    occasionally double-round an intermediate sum causing it to be off in its
    least significant bit.
 
+   For further discussion and two alternative approaches, see the `ASPN cookbook
+   recipes for accurate floating point summation
+   <http://code.activestate.com/recipes/393090/>`_\.
+
 
 .. function:: isinf(x)