]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Add reference to solution for a commonly asked question.
authorRaymond Hettinger <python@rcn.com>
Thu, 12 Mar 2009 00:25:03 +0000 (00:25 +0000)
committerRaymond Hettinger <python@rcn.com>
Thu, 12 Mar 2009 00:25:03 +0000 (00:25 +0000)
Doc/reference/datamodel.rst

index 37640e5073f369e452ebd47e787c94b07d16c6d0..d083af518e30c6697bf9dd6db03ddd10466bc162 100644 (file)
@@ -1346,6 +1346,9 @@ Basic customization
 
    Arguments to rich comparison methods are never coerced.
 
+   To automatically generate ordering operations from a single root operation,
+   see the `Total Ordering recipe in the ASPN cookbook
+   <http://code.activestate.com/recipes/576529/>`_\.
 
 .. method:: object.__cmp__(self, other)