[docs] [issue35784] document that hashlib.new takes kwargs

Jörn Heissler report at bugs.python.org
Sat Jan 19 04:51:56 EST 2019


New submission from Jörn Heissler <launchpad at joern.heissler.de>:

This code works:
hashlib.new('blake2b', b'foo', digest_size=7)

https://github.com/python/cpython/blob/master/Lib/hashlib.py#L7
documents the function as: new(name, data=b'', **kwargs)

But the **kwargs argument is missing in https://docs.python.org/3/library/hashlib.html#hashlib.new and there aren't any examples either.

----------
assignee: docs at python
components: Documentation
messages: 334053
nosy: docs at python, joernheissler
priority: normal
severity: normal
status: open
title: document that hashlib.new takes kwargs
type: enhancement

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35784>
_______________________________________


More information about the docs mailing list