[Python-checkins] r66093 - python/trunk/Lib/hashlib.py

gregory.p.smith python-checkins at python.org
Sun Aug 31 18:34:18 CEST 2008


Author: gregory.p.smith
Date: Sun Aug 31 18:34:18 2008
New Revision: 66093

Log:
issue3715: docstring representation of hex escaped string needs to be double
escaped.


Modified:
   python/trunk/Lib/hashlib.py

Modified: python/trunk/Lib/hashlib.py
==============================================================================
--- python/trunk/Lib/hashlib.py	(original)
+++ python/trunk/Lib/hashlib.py	Sun Aug 31 18:34:18 2008
@@ -45,7 +45,7 @@
     >>> m.update("Nobody inspects")
     >>> m.update(" the spammish repetition")
     >>> m.digest()
-    '\xbbd\x9c\x83\xdd\x1e\xa5\xc9\xd9\xde\xc9\xa1\x8d\xf0\xff\xe9'
+    '\\xbbd\\x9c\\x83\\xdd\\x1e\\xa5\\xc9\\xd9\\xde\\xc9\\xa1\\x8d\\xf0\\xff\\xe9'
 
 More condensed:
 


More information about the Python-checkins mailing list