From: Raymond Hettinger Date: Thu, 19 Feb 2009 06:47:42 +0000 (+0000) Subject: Add links to helpful external resources. X-Git-Tag: 3.0~381 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1bac7b1f460278e4f56bd04c9af7cb040663bceb;p=thirdparty%2FPython%2Fcpython.git Add links to helpful external resources. --- diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst index b7ebb88ba7e5..0cd1ce14e4ec 100644 --- a/Doc/library/functions.rst +++ b/Doc/library/functions.rst @@ -968,6 +968,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 + `_\. .. function:: staticmethod(function) diff --git a/Doc/library/math.rst b/Doc/library/math.rst index 55e03bfa5574..d59296a2dbd4 100644 --- a/Doc/library/math.rst +++ b/Doc/library/math.rst @@ -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 + `_\. + .. function:: isinf(x)