From: Raymond Hettinger Date: Thu, 12 Mar 2009 00:25:03 +0000 (+0000) Subject: Add reference to solution for a commonly asked question. X-Git-Tag: v2.7a1~1868 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=351de8017cffc1222d1d229eaa4652e91cd65114;p=thirdparty%2FPython%2Fcpython.git Add reference to solution for a commonly asked question. --- diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst index 37640e5073f3..d083af518e30 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)