[Python-checkins] r69763 - in python/branches/py3k/Doc/library: functions.rst math.rst

raymond.hettinger python-checkins at python.org
Thu Feb 19 07:44:30 CET 2009


Author: raymond.hettinger
Date: Thu Feb 19 07:44:30 2009
New Revision: 69763
Log:
Add links to helpful external resources.
Modified:
 python/branches/py3k/Doc/library/functions.rst
 python/branches/py3k/Doc/library/math.rst
Modified: python/branches/py3k/Doc/library/functions.rst
==============================================================================
--- python/branches/py3k/Doc/library/functions.rst	(original)
+++ python/branches/py3k/Doc/library/functions.rst	Thu Feb 19 07:44:30 2009
@@ -973,6 +973,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/py3k/Doc/library/math.rst
==============================================================================
--- python/branches/py3k/Doc/library/math.rst	(original)
+++ python/branches/py3k/Doc/library/math.rst	Thu Feb 19 07:44:30 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

AltStyle によって変換されたページ (->オリジナル) /