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 <rep...@bugs.python.org>
<http://bugs.python.org/issue22880>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to