bpo-33604: Remove deprecated HMAC default value marked for removal in 3.8 (GH-7063)

HMAC's digestmod was deprecated marked for removal, this removes it as planned.
This commit is contained in:
Matthias Bussonnier 2018-09-10 20:10:01 +02:00 committed by Gregory P. Smith
parent 78deb7f332
commit 51a4743d19
4 changed files with 13 additions and 33 deletions

View file

@ -19,8 +19,7 @@ This module implements the HMAC algorithm as described by :rfc:`2104`.
Return a new hmac object. *key* is a bytes or bytearray object giving the
secret key. If *msg* is present, the method call ``update(msg)`` is made.
*digestmod* is the digest name, digest constructor or module for the HMAC
object to use. It supports any name suitable to :func:`hashlib.new` and
defaults to the :data:`hashlib.md5` constructor.
object to use. It supports any name suitable to :func:`hashlib.new`.
.. versionchanged:: 3.4
Parameter *key* can be a bytes or bytearray object.