cpython/Misc/NEWS.d/next/Library/2018-03-24-19-34-26.bpo-331...

4 lines
214 B
ReStructuredText

When computing dataclass's __hash__, use the lookup table to contain the
function which returns the __hash__ value. This is an improvement over
looking up a string, and then testing that string to see what to do.