mirror of
https://github.com/python/cpython.git
synced 2025-11-13 15:40:05 +00:00
The buffer protocol doesn't exist (in the glossary anyway).
This commit is contained in:
parent
9df73dac84
commit
4f9946874b
1 changed files with 1 additions and 1 deletions
|
|
@ -74,7 +74,7 @@ This module also provides the following helper function:
|
||||||
timing analysis, making it appropriate for cryptography. *a* and *b*
|
timing analysis, making it appropriate for cryptography. *a* and *b*
|
||||||
must both be of the same type: either :class:`str` (ASCII only, as e.g.
|
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
|
returned by :meth:`HMAC.hexdigest`), or any type that supports the
|
||||||
:term:`buffer protocol` (e.g. :class:`bytes`).
|
buffer protocol (e.g. :class:`bytes`).
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
If *a* and *b* are different lengths, or if an error occurs,
|
If *a* and *b* are different lengths, or if an error occurs,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue