[Python-checkins] r84226 - python/branches/py3k/Lib/hmac.py

benjamin.peterson python-checkins at python.org
Sat Aug 21 04:41:33 CEST 2010


Author: benjamin.peterson
Date: Sat Aug 21 04:41:33 2010
New Revision: 84226

Log:
remove outdated comment

Modified:
   python/branches/py3k/Lib/hmac.py

Modified: python/branches/py3k/Lib/hmac.py
==============================================================================
--- python/branches/py3k/Lib/hmac.py	(original)
+++ python/branches/py3k/Lib/hmac.py	Sat Aug 21 04:41:33 2010
@@ -58,8 +58,6 @@
         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 @@
         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.
         """


More information about the Python-checkins mailing list