diff options
author | Raymond Hettinger <python@rcn.com> | 2009-03-12 00:25:03 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2009-03-12 00:25:03 (GMT) |
commit | 351de8017cffc1222d1d229eaa4652e91cd65114 (patch) | |
tree | 5c02804edc4303a30979bbd6de5609cb2d76c8d7 | |
parent | 61585c260cb46b5918e1c3a3771ed17abec308f5 (diff) | |
download | cpython-351de8017cffc1222d1d229eaa4652e91cd65114.zip cpython-351de8017cffc1222d1d229eaa4652e91cd65114.tar.gz cpython-351de8017cffc1222d1d229eaa4652e91cd65114.tar.bz2 |
Add reference to solution for a commonly asked question.
-rw-r--r-- | Doc/reference/datamodel.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst index 37640e5..d083af5 100644 --- a/Doc/reference/datamodel.rst +++ b/Doc/reference/datamodel.rst @@ -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) |