From bf6f31b65fa0947c97276b0007adc3276040c706 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Sat, 21 Aug 2010 02:43:31 +0000 Subject: use blank object instead --- Lib/hmac.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/hmac.py b/Lib/hmac.py index 4bbdbc4..5572751 100644 --- a/Lib/hmac.py +++ b/Lib/hmac.py @@ -15,7 +15,7 @@ digest_size = None # A unique object passed by HMAC.copy() to the HMAC constructor, in order # that the latter return very quickly. HMAC("") in contrast is quite # expensive. -_secret_backdoor_key = [] +_secret_backdoor_key = object() class HMAC: """RFC 2104 HMAC class. Also complies with RFC 4231. -- cgit v0.12