summaryrefslogtreecommitdiffstats
path: root/Lib/hmac.py
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2013-04-20 17:21:44 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2013-04-20 17:21:44 (GMT)
commita85017fbe3be978a6f138662c6cd21052355ef91 (patch)
tree98eea2a8daaa747a4dca3e013c21f1926bcd9eea /Lib/hmac.py
parentc9f5ca232acccf412ef14aa294afd9deef4af93d (diff)
downloadcpython-a85017fbe3be978a6f138662c6cd21052355ef91.zip
cpython-a85017fbe3be978a6f138662c6cd21052355ef91.tar.gz
cpython-a85017fbe3be978a6f138662c6cd21052355ef91.tar.bz2
Issue #16694: Add a pure Python implementation of the operator module.
Patch by Zachary Ware.
Diffstat (limited to 'Lib/hmac.py')
-rw-r--r--Lib/hmac.py2
1 files changed, 1 insertions, 1 deletions
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 @@ Implements the HMAC algorithm as described by RFC 2104.
"""
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))