backport r66093 from trunk.
 issue3715: docstring representation of hex escaped string needs to be double
 escaped.
diff --git a/Lib/hashlib.py b/Lib/hashlib.py
index 3d8826f..78563b2 100644
--- a/Lib/hashlib.py
+++ b/Lib/hashlib.py
@@ -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: