From: Raymond Hettinger Date: Thu, 12 Mar 2009 00:25:29 +0000 (+0000) Subject: Add reference to solution for a commonly asked question. X-Git-Tag: v3.1a2~282 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6c4b4b2267215b8fe69f0e025c3d19f6cdc4fb91;p=python Add reference to solution for a commonly asked question. --- diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst index 3fda6a4a68..e5cc1b92a9 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)