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.
E
Eric V. Smith committed
01d618c5606a239b03ad1269541eddb6e724775d
Parent: f96ddad
Committed by GitHub <noreply@github.com>
on 3/25/2018, 2:10:14 AM