Skip to content

Commit 6359450

Browse files
committed
issue3715: docstring representation of hex escaped string needs to be double
escaped.
1 parent 6ba3329 commit 6359450

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/hashlib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
>>> m.update(b"Nobody inspects")
4545
>>> m.update(b" the spammish repetition")
4646
>>> m.digest()
47-
b'\xbbd\x9c\x83\xdd\x1e\xa5\xc9\xd9\xde\xc9\xa1\x8d\xf0\xff\xe9'
47+
b'\\xbbd\\x9c\\x83\\xdd\\x1e\\xa5\\xc9\\xd9\\xde\\xc9\\xa1\\x8d\\xf0\\xff\\xe9'
4848
4949
More condensed:
5050

0 commit comments

Comments
 (0)