summaryrefslogtreecommitdiffstats
path: root/Lib/hmac.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2002-05-31 17:49:10 (GMT)
committerRaymond Hettinger <python@rcn.com>2002-05-31 17:49:10 (GMT)
commit7fdfc2d231e4d41a5bb6dd737200d3460aa39773 (patch)
treee2c0557ac6111a6a3fc480775ba954ccc01daeb4 /Lib/hmac.py
parent79e39bd4d0705051552740fa8dedcdc366b56725 (diff)
downloadcpython-7fdfc2d231e4d41a5bb6dd737200d3460aa39773.zip
cpython-7fdfc2d231e4d41a5bb6dd737200d3460aa39773.tar.gz
cpython-7fdfc2d231e4d41a5bb6dd737200d3460aa39773.tar.bz2
Replace '== None' with 'is None'
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 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