[docs] [issue28383] __hash__ documentation recommends naive XOR to combine but this is suboptimal

STINNER Victor report at bugs.python.org
Tue Oct 18 10:49:02 EDT 2016


STINNER Victor added the comment:

hash(tuple of attributes) is what I'm using in all my projects.

Here is a patch for the doc.

----------
keywords: +patch
nosy: +haypo
Added file: http://bugs.python.org/file45133/hash_doc.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28383>
_______________________________________


More information about the docs mailing list