mirror of https://github.com/python/cpython
Add reference to solution for a commonly asked question.
This commit is contained in:
parent
516db94459
commit
6c4b4b2267
|
@ -1198,6 +1198,9 @@ Basic customization
|
||||||
|
|
||||||
Arguments to rich comparison methods are never coerced.
|
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.__hash__(self)
|
.. method:: object.__hash__(self)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue