From f07e5a9e4b5418829e0b2e907ae5e9b7bb8f90c8 Mon Sep 17 00:00:00 2001 From: "Gregory P. Smith" Date: Sun, 31 Aug 2008 16:34:18 +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 13124e2..a9068a5 100644 --- a/Lib/hashlib.py +++ b/Lib/hashlib.py @@ -45,7 +45,7 @@ spammish repetition': >>> 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: -- cgit v0.12