mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00
Issue #16694: Add a pure Python implementation of the operator module.
Patch by Zachary Ware.
This commit is contained in:
parent
c9f5ca232a
commit
a85017fbe3
10 changed files with 536 additions and 96 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue