mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
Add reference to solution for a commonly asked question.
This commit is contained in:
parent
61585c260c
commit
351de8017c
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
<http://code.activestate.com/recipes/576529/>`_\.
|
||||
|
||||
.. method:: object.__cmp__(self, other)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue