]> granicus.if.org Git - python/commitdiff
issue3715: docstring representation of hex escaped string needs to be double
authorGregory P. Smith <greg@mad-scientist.com>
Sun, 31 Aug 2008 16:35:01 +0000 (16:35 +0000)
committerGregory P. Smith <greg@mad-scientist.com>
Sun, 31 Aug 2008 16:35:01 +0000 (16:35 +0000)
escaped.

Lib/hashlib.py

index efe66ec600d9312fd8914d71fa1e0e75ebd144b9..34ed195cd06467bbde9c571a6563b4ee8c91541b 100644 (file)
@@ -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: