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))