Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6c4b4b2

Browse files
committed
Add reference to solution for a commonly asked question.
1 parent 516db94 commit 6c4b4b2

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Doc/reference/datamodel.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1198,6 +1198,9 @@ Basic customization
11981198

11991199
Arguments to rich comparison methods are never coerced.
12001200

1201+
To automatically generate ordering operations from a single root operation,
1202+
see the `Total Ordering recipe in the ASPN cookbook
1203+
<http://code.activestate.com/recipes/576529/>`_\.
12011204

12021205
.. method:: object.__hash__(self)
12031206

0 commit comments

Comments
 (0)