[docs] [issue4395] Document auto __ne__ generation; provide a use case for non-trivial __ne__

Martin Panter report at bugs.python.org
Sun Jan 11 07:27:33 CET 2015

Martin Panter added the comment:

Here is a patch that documents the default object.__ne__() implementation. It also documents the subclass priority rules for the reflected comparison methods, which is raised in Issue 22052.

I have made some more tests to verify the relationships exists from __ne__ to __eq__, but no other relationships exist for the other methods. I will include it in my patch in Issue 21408 to avoid the patches conflicting with each other.

keywords: +patch
nosy: +vadmium
Added file: http://bugs.python.org/file37671/default-ne-reflected-priority.patch

Python tracker <report at bugs.python.org>

More information about the docs mailing list