summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2014-03-09 03:43:12 (GMT)
committerR David Murray <rdmurray@bitdance.com>2014-03-09 03:43:12 (GMT)
commit3d234837ed3c2cd422bbc15e2f13129a48368fa6 (patch)
tree7d0ae129ed83b88ad1db09bc3d787f46f3c79cfc /Doc/library
parentb1376b511984619e114200f031cda9f06f2758f0 (diff)
downloadcpython-3d234837ed3c2cd422bbc15e2f13129a48368fa6.zip
cpython-3d234837ed3c2cd422bbc15e2f13129a48368fa6.tar.gz
cpython-3d234837ed3c2cd422bbc15e2f13129a48368fa6.tar.bz2
whatsnew: hmac *digestmod* accepts strings, and default is deprecated. (#17276)
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/hmac.rst5
1 files changed, 2 insertions, 3 deletions
diff --git a/Doc/library/hmac.rst b/Doc/library/hmac.rst
index 2e9b0b2..4858235 100644
--- a/Doc/library/hmac.rst
+++ b/Doc/library/hmac.rst
@@ -23,9 +23,8 @@ This module implements the HMAC algorithm as described by :rfc:`2104`.
defaults to the :data:`hashlib.md5` constructor.
.. versionchanged:: 3.4
- Parameter *key* can be a bytes or bytearray object. Parameter *msg* can
- be of any type supported by :mod:`hashlib`.
-
+ Parameter *key* can be a bytes or bytearray object.
+ Parameter *msg* can be of any type supported by :mod:`hashlib`.
Paramter *digestmod* can be the name of a hash algorithm.
.. deprecated:: 3.4