diff options
Diffstat (limited to 'Lib/hmac.py')
-rw-r--r-- | Lib/hmac.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/hmac.py b/Lib/hmac.py index cae0800..c9e4ae8 100644 --- a/Lib/hmac.py +++ b/Lib/hmac.py @@ -27,7 +27,7 @@ class HMAC: msg: Initial input for the hash, if provided. digestmod: A module supporting PEP 247. Defaults to the md5 module. """ - if digestmod == None: + if digestmod is None: import md5 digestmod = md5 |