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

index 3fda6a4a68fd4bd46388224f020b0af99de40ba4..e5cc1b92a9474f1dda970d86ab3bd16b24a44ab7 100644 (file)
@@ -1198,6 +1198,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.__hash__(self)