diff options
| author | Raymond Hettinger <python@rcn.com> | 2009-03-12 00:25:03 +0000 |
|---|---|---|
| committer | Raymond Hettinger <python@rcn.com> | 2009-03-12 00:25:03 +0000 |
| commit | 3f580329c3918fdf6dcdc40be80646c6a3775ee3 (patch) | |
| tree | fd3aa781ff4b2592e01112c4889a2871311c63e0 /Doc/reference | |
| parent | cf9a7b4b3ad09546020efa703e75a76898313b5a (diff) | |
| download | cpython-3f580329c3918fdf6dcdc40be80646c6a3775ee3.tar.gz | |
Add reference to solution for a commonly asked question.
Diffstat (limited to 'Doc/reference')
| -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 37640e5073..d083af518e 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) |
