summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2010-04-04 22:24:03 (GMT)
committerRaymond Hettinger <python@rcn.com>2010-04-04 22:24:03 (GMT)
commit06bc0b6d2ef4fb132bfe03b24ee1b448d786f965 (patch)
tree4840bf693602a17956e3fb476da850bf283a180c /Doc
parentb1affc517f67037fcd9027cf92fda3424b80c1ea (diff)
downloadcpython-06bc0b6d2ef4fb132bfe03b24ee1b448d786f965.zip
cpython-06bc0b6d2ef4fb132bfe03b24ee1b448d786f965.tar.gz
cpython-06bc0b6d2ef4fb132bfe03b24ee1b448d786f965.tar.bz2
Add tests for functools.total_ordering.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/reference/datamodel.rst3
1 files changed, 1 insertions, 2 deletions
diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst
index 2542704..2dcaed2 100644
--- a/Doc/reference/datamodel.rst
+++ b/Doc/reference/datamodel.rst
@@ -1353,8 +1353,7 @@ 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/>`_\.
+ see :func:`functools.total_ordering`.
.. method:: object.__cmp__(self, other)