The buffer protocol doesn't exist (in the glossary anyway).

This commit is contained in:
Antoine Pitrou 2012-06-24 16:04:38 +02:00
parent 9df73dac84
commit 4f9946874b

View file

@ -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,