Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c3f810f

Browse files
committed
remove outdated comment
1 parent c44abb1 commit c3f810f

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

Lib/hmac.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,6 @@ def __init__(self, key, msg = None, digestmod = None):
5858
if hasattr(self.inner, 'block_size'):
5959
blocksize = self.inner.block_size
6060
if blocksize < 16:
61-
# Very low blocksize, most likely a legacy value like
62-
# Lib/sha.py and Lib/md5.py have.
6361
_warnings.warn('block_size of %d seems too small; using our '
6462
'default of %d.' % (blocksize, self.blocksize),
6563
RuntimeWarning, 2)
@@ -79,9 +77,6 @@ def __init__(self, key, msg = None, digestmod = None):
7977
if msg is not None:
8078
self.update(msg)
8179

82-
## def clear(self):
83-
## raise NotImplementedError, "clear() method not available in HMAC."
84-
8580
def update(self, msg):
8681
"""Update this hashing object with the string msg.
8782
"""

0 commit comments

Comments
 (0)