]> granicus.if.org Git - python/commitdiff
remove outdated comment
authorBenjamin Peterson <benjamin@python.org>
Sat, 21 Aug 2010 02:41:33 +0000 (02:41 +0000)
committerBenjamin Peterson <benjamin@python.org>
Sat, 21 Aug 2010 02:41:33 +0000 (02:41 +0000)
Lib/hmac.py

index 0f59fd4847afe2d54ee19a71b0f0fb01e6e433eb..4bbdbc47787029b650dd314a2e5b9c968b6c8c69 100644 (file)
@@ -58,8 +58,6 @@ class HMAC:
         if hasattr(self.inner, 'block_size'):
             blocksize = self.inner.block_size
             if blocksize < 16:
-                # Very low blocksize, most likely a legacy value like
-                # Lib/sha.py and Lib/md5.py have.
                 _warnings.warn('block_size of %d seems too small; using our '
                                'default of %d.' % (blocksize, self.blocksize),
                                RuntimeWarning, 2)
@@ -79,9 +77,6 @@ class HMAC:
         if msg is not None:
             self.update(msg)
 
-##    def clear(self):
-##        raise NotImplementedError, "clear() method not available in HMAC."
-
     def update(self, msg):
         """Update this hashing object with the string msg.
         """