[New-bugs-announce] [issue22880] hmac.new docs show optional args incorrectly

Roy Smith report at bugs.python.org
Sun Nov 16 04:25:58 CET 2014


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 at python
components: Documentation
messages: 231231
nosy: docs at python, roysmith
priority: normal
severity: normal
status: open
title: hmac.new docs show optional args incorrectly
versions: Python 2.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22880>
_______________________________________


More information about the New-bugs-announce mailing list