16 Nov
2014
16 Nov
'14
8:55 a.m.
New submission from Roy Smith:
At https://docs.python.org/2/library/hmac.html, hmac.new() is shown as
hmac.new(key[, msg[, digestmod]])
This implies that digestmod can only be given if msg is given. This is incorrect. Either can be given without the other.
----------
assignee: docs@python
components: Documentation
messages: 231231
nosy: docs@python, roysmith
priority: normal
severity: normal
status: open
title: hmac.new docs show optional args incorrectly
versions: Python 2.7
_______________________________________
Python tracker