commit | a85017fbe3be978a6f138662c6cd21052355ef91 | [log] [tgz] |
---|---|---|
author | Antoine Pitrou <solipsis@pitrou.net> | Sat Apr 20 19:21:44 2013 +0200 |
committer | Antoine Pitrou <solipsis@pitrou.net> | Sat Apr 20 19:21:44 2013 +0200 |
tree | 98eea2a8daaa747a4dca3e013c21f1926bcd9eea | |
parent | c9f5ca232acccf412ef14aa294afd9deef4af93d [diff] [blame] |
Issue #16694: Add a pure Python implementation of the operator module. Patch by Zachary Ware.
diff --git a/Lib/hmac.py b/Lib/hmac.py index 4297a71..6bd0de5 100644 --- a/Lib/hmac.py +++ b/Lib/hmac.py
@@ -4,7 +4,7 @@ """ import warnings as _warnings -from operator import _compare_digest as compare_digest +from _operator import _compare_digest as compare_digest trans_5C = bytes((x ^ 0x5C) for x in range(256)) trans_36 = bytes((x ^ 0x36) for x in range(256))