]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
issue3715: docstring representation of hex escaped string needs to be double
authorGregory P. Smith <greg@mad-scientist.com>
Sun, 31 Aug 2008 16:34:18 +0000 (16:34 +0000)
committerGregory P. Smith <greg@mad-scientist.com>
Sun, 31 Aug 2008 16:34:18 +0000 (16:34 +0000)
escaped.

Lib/hashlib.py

index 13124e2c0b2e205d04e27d23e3abd90b22669ee9..a9068a5a3c45723e830ad2622a77d49ba0988853 100644 (file)
@@ -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: