Kaydet (Commit) 477be822 authored tarafından Raymond Hettinger's avatar Raymond Hettinger

Add links to helpful external resources.

üst f3936f87
...@@ -973,6 +973,9 @@ are always available. They are listed here in alphabetical order. ...@@ -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 *reverse* is a boolean value. If set to ``True``, then the list elements are
sorted as if each comparison were reversed. 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) .. function:: staticmethod(function)
......
...@@ -93,6 +93,10 @@ Number-theoretic and representation functions ...@@ -93,6 +93,10 @@ Number-theoretic and representation functions
occasionally double-round an intermediate sum causing it to be off in its occasionally double-round an intermediate sum causing it to be off in its
least significant bit. 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) .. function:: isinf(x)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment