doc: Suggest to hash(tuple of attr) rather than XOR
Issue #28383: __hash__ documentation recommends naive XOR to combine but this is suboptimal. Update the doc to suggest to reuse the hash() method using a tuple, with an example.
V
Victor Stinner committed
509476b37085abda9c8cc0fba1451cb035e0b442
Parent: bfbc29c