summaryrefslogtreecommitdiffstats
path: root/Doc/library/hmac.rst
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2013-05-04 15:06:34 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2013-05-04 15:06:34 (GMT)
commitc228e96726129e20519a2016075fca3dc9fdcd30 (patch)
treebf6fca50fa7f3fd47fdfe20fbed1baf2d65f2585 /Doc/library/hmac.rst
parent28faf03d4474d184b30a8013c70845b6600d456d (diff)
downloadcpython-c228e96726129e20519a2016075fca3dc9fdcd30.zip
cpython-c228e96726129e20519a2016075fca3dc9fdcd30.tar.gz
cpython-c228e96726129e20519a2016075fca3dc9fdcd30.tar.bz2
#16518: use "bytes-like object" throughout the docs.
Diffstat (limited to 'Doc/library/hmac.rst')
-rw-r--r--Doc/library/hmac.rst3
1 files changed, 1 insertions, 2 deletions
diff --git a/Doc/library/hmac.rst b/Doc/library/hmac.rst
index 0706ff4..c2066a7 100644
--- a/Doc/library/hmac.rst
+++ b/Doc/library/hmac.rst
@@ -74,8 +74,7 @@ This module also provides the following helper function:
timing analysis by avoiding content-based short circuiting behaviour,
making it appropriate for cryptography. *a* and *b* must both be of the
same type: either :class:`str` (ASCII only, as e.g. returned by
- :meth:`HMAC.hexdigest`), or any type that supports the buffer protocol
- (e.g. :class:`bytes`).
+ :meth:`HMAC.hexdigest`), or a :term:`bytes-like object`.
.. note::