From 6c4b4b2267215b8fe69f0e025c3d19f6cdc4fb91 Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Thu, 12 Mar 2009 00:25:29 +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 3fda6a4a68f..e5cc1b92a94 100644 --- a/Doc/reference/datamodel.rst +++ b/Doc/reference/datamodel.rst @@ -1198,6 +1198,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.__hash__(self)