A small refactor that doesn't matter too much, but it using the named constructor is nice because:
- It clarifies that it is a built-in function
- It is (trivially) faster and less code.
A small refactor that doesn't matter too much, but it using the named constructor is nice because:
This removes the last use of new: git grep 'hashlib.new'.
ACK fa1b63c01887adff83f16b1bbba3bd159dc51104
Verified no other instance of hashlib.new after this patch.
ACK fa1b63c