summaryrefslogtreecommitdiffstats
path: root/Lib/urllib/request.py
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2017-09-14 13:45:31 (GMT)
committerMariatta <Mariatta@users.noreply.github.com>2017-09-14 13:45:31 (GMT)
commitc8b6506404540eb06c45a51b04ccc102f8b92813 (patch)
tree5540dfa8bc33b5e653aa850a06b282f891db43e6 /Lib/urllib/request.py
parent472cc9f366ef16cab72eed21bdc6a24f194fc03a (diff)
downloadcpython-c8b6506404540eb06c45a51b04ccc102f8b92813.zip
cpython-c8b6506404540eb06c45a51b04ccc102f8b92813.tar.gz
cpython-c8b6506404540eb06c45a51b04ccc102f8b92813.tar.bz2
Improve code examples in hashlib cookie signing (GH-3562) (GH-3566)
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 (cherry picked from commit 312ffead1eb272535e021e248b5d74ab04b2e72e)
Diffstat (limited to 'Lib/urllib/request.py')
0 files changed, 0 insertions, 0 deletions