From 351de8017cffc1222d1d229eaa4652e91cd65114 Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Thu, 12 Mar 2009 00:25:03 +0000 Subject: [PATCH] Add reference to solution for a commonly asked question. --- Doc/reference/datamodel.rst | 3 +++ 1 file changed, 3 insertions(+) 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 + `_\. .. method:: object.__cmp__(self, other) -- 2.50.1