[Python-3000-checkins] r66094 - python/branches/py3k/Lib/hashlib.py

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


Author: gregory.p.smith
Date: Sun Aug 31 18:35:01 2008
New Revision: 66094

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


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

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


More information about the Python-3000-checkins mailing list