summaryrefslogtreecommitdiffstats
path: root/Programs/_testembed.c
diff options
context:
space:
mode:
authorsww <sww@users.noreply.github.com>2017-09-14 06:24:36 (GMT)
committerMariatta <Mariatta@users.noreply.github.com>2017-09-14 06:24:36 (GMT)
commit312ffead1eb272535e021e248b5d74ab04b2e72e (patch)
treeaa426347465b2ccaac22d3e0d5f19ffe271337d4 /Programs/_testembed.c
parentc3e97d9d984130d1c2aceedc4dfcd603b3162688 (diff)
downloadcpython-312ffead1eb272535e021e248b5d74ab04b2e72e.zip
cpython-312ffead1eb272535e021e248b5d74ab04b2e72e.tar.gz
cpython-312ffead1eb272535e021e248b5d74ab04b2e72e.tar.bz2
Improve code examples in hashlib cookie signing (GH-3562)
The `blake2b` function does not take the `data` keyword argument. The hex digest returned by sign was a string, whereas compare_digest expects bytes-like objects. Typo fix: compare_digesty -> compare_digest
Diffstat (limited to 'Programs/_testembed.c')
0 files changed, 0 insertions, 0 deletions