commit | 50b1c4920be53f5155fce046617bb700fd02574f | [log] [tgz] |
---|---|---|
author | Gregory P. Smith <greg@mad-scientist.com> | Sun Aug 31 16:36:21 2008 +0000 |
committer | Gregory P. Smith <greg@mad-scientist.com> | Sun Aug 31 16:36:21 2008 +0000 |
tree | 7629764bacd15c4cf19e7916cd5a7f7ac2b91827 | |
parent | efbf6fc73eb00f905d75f932949637fdf9b637bb [diff] |
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: