[Python-checkins] r69764 - in python/branches/release30-maint/Doc/library: functions.rst math.rst
raymond.hettinger
python-checkins at python.org
Thu Feb 19 07:47:42 CET 2009
Author: raymond.hettinger
Date: Thu Feb 19 07:47:42 2009
New Revision: 69764
Log:
Add links to helpful external resources.
Modified:
python/branches/release30-maint/Doc/library/functions.rst
python/branches/release30-maint/Doc/library/math.rst
Modified: python/branches/release30-maint/Doc/library/functions.rst
==============================================================================
--- python/branches/release30-maint/Doc/library/functions.rst (original)
+++ python/branches/release30-maint/Doc/library/functions.rst Thu Feb 19 07:47:42 2009
@@ -968,6 +968,9 @@
*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)
Modified: python/branches/release30-maint/Doc/library/math.rst
==============================================================================
--- python/branches/release30-maint/Doc/library/math.rst (original)
+++ python/branches/release30-maint/Doc/library/math.rst Thu Feb 19 07:47:42 2009
@@ -93,6 +93,10 @@
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)
More information about the Python-checkins
mailing list