commit | 01d618c5606a239b03ad1269541eddb6e724775d | [log] [tgz] |
---|---|---|
author | Eric V. Smith <ericvsmith@users.noreply.github.com> | Sat Mar 24 22:10:14 2018 -0400 |
committer | GitHub <noreply@github.com> | Sat Mar 24 22:10:14 2018 -0400 |
tree | 2e1d50fb4f5c704564de39e72aaf99f716050d02 | |
parent | f96ddade0094d162cb6c2fd7255c5e8a90b5c37d [diff] |
bpo-33134: dataclasses: use function dispatch table for hash, instead of a string lookup which then is tested with if tests. (GH-6222) * Change _hash_action to be a function table lookup, instead of a list of strings which is then tested with if statements.