From 6359450ab8d38771ec0ac35d8d7d028014cec959 Mon Sep 17 00:00:00 2001 From: "Gregory P. Smith" Date: Sun, 31 Aug 2008 16:35:01 +0000 Subject: issue3715: docstring representation of hex escaped string needs to be double escaped. --- Lib/hashlib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/hashlib.py b/Lib/hashlib.py index efe66ec..34ed195 100644 --- a/Lib/hashlib.py +++ b/Lib/hashlib.py @@ -44,7 +44,7 @@ spammish repetition': >>> 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: -- cgit v0.12