r66095 - python/branches/release25-maint/Lib/hashlib.py

Author: gregory.p.smith Date: Sun Aug 31 18:36:21 2008 New Revision: 66095 Log: backport r66093 from trunk. issue3715: docstring representation of hex escaped string needs to be double escaped. Modified: python/branches/release25-maint/Lib/hashlib.py Modified: python/branches/release25-maint/Lib/hashlib.py ============================================================================== --- python/branches/release25-maint/Lib/hashlib.py (original) +++ python/branches/release25-maint/Lib/hashlib.py Sun Aug 31 18:36:21 2008 @@ -42,7 +42,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:
participants (1)
-
gregory.p.smith