diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2013-05-04 15:06:34 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2013-05-04 15:06:34 (GMT) |
commit | c228e96726129e20519a2016075fca3dc9fdcd30 (patch) | |
tree | bf6fca50fa7f3fd47fdfe20fbed1baf2d65f2585 /Doc/library/hmac.rst | |
parent | 28faf03d4474d184b30a8013c70845b6600d456d (diff) | |
download | cpython-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.rst | 3 |
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:: |