summaryrefslogtreecommitdiffstats
path: root/Doc/reference
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2009-03-12 00:25:29 (GMT)
committerRaymond Hettinger <python@rcn.com>2009-03-12 00:25:29 (GMT)
commit6c4b4b2267215b8fe69f0e025c3d19f6cdc4fb91 (patch)
treed55f6f8dda7b2d3b83d7b2179af5c0173dda1786 /Doc/reference
parent516db94459a8e711aaf8d6d8783463c64530f8fa (diff)
downloadcpython-6c4b4b2267215b8fe69f0e025c3d19f6cdc4fb91.zip
cpython-6c4b4b2267215b8fe69f0e025c3d19f6cdc4fb91.tar.gz
cpython-6c4b4b2267215b8fe69f0e025c3d19f6cdc4fb91.tar.bz2
Add reference to solution for a commonly asked question.
Diffstat (limited to 'Doc/reference')
-rw-r--r--Doc/reference/datamodel.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst
index 3fda6a4..e5cc1b9 100644
--- a/Doc/reference/datamodel.rst
+++ b/Doc/reference/datamodel.rst
@@ -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)