diff options
author | Raymond Hettinger <python@rcn.com> | 2010-04-05 18:56:31 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2010-04-05 18:56:31 (GMT) |
commit | c50846aaef3e38d466ac9a0a87f72f09238e2061 (patch) | |
tree | f6ae48bcfbabb5107c971c240f3b06a549084f98 /Doc/reference | |
parent | 5daab45158094e577b9791cda7d8a0f4e34f45cb (diff) | |
download | cpython-c50846aaef3e38d466ac9a0a87f72f09238e2061.zip cpython-c50846aaef3e38d466ac9a0a87f72f09238e2061.tar.gz cpython-c50846aaef3e38d466ac9a0a87f72f09238e2061.tar.bz2 |
Forward port total_ordering() and cmp_to_key().
Diffstat (limited to 'Doc/reference')
-rw-r--r-- | Doc/reference/datamodel.rst | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst index d2f8c16..5af615d 100644 --- a/Doc/reference/datamodel.rst +++ b/Doc/reference/datamodel.rst @@ -1209,8 +1209,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.__hash__(self) |