summaryrefslogtreecommitdiffstats
path: root/Lib/hashlib.py
diff options
context:
space:
mode:
authorGregory P. Smith <greg@mad-scientist.com>2008-08-31 16:35:01 (GMT)
committerGregory P. Smith <greg@mad-scientist.com>2008-08-31 16:35:01 (GMT)
commit6359450ab8d38771ec0ac35d8d7d028014cec959 (patch)
tree008a6dfeb0b0961a20baeaf0f4a7c001808bcbdc /Lib/hashlib.py
parent6ba3329c274e2c7876c61f2e98d4592310d26bae (diff)
downloadcpython-6359450ab8d38771ec0ac35d8d7d028014cec959.zip
cpython-6359450ab8d38771ec0ac35d8d7d028014cec959.tar.gz
cpython-6359450ab8d38771ec0ac35d8d7d028014cec959.tar.bz2
issue3715: docstring representation of hex escaped string needs to be double
escaped.
Diffstat (limited to 'Lib/hashlib.py')
-rw-r--r--Lib/hashlib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/hashlib.py b/Lib/hashlib.py
index efe66ec..34ed195 100644
--- a/Lib/hashlib.py
+++ b/Lib/hashlib.py
@@ -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: