improve algorithms_* documentation

This commit is contained in:
Benjamin Peterson 2014-03-11 14:26:12 -05:00
parent bfca3ca114
commit 8e4b3c7f55
1 changed files with 6 additions and 6 deletions

View File

@ -95,18 +95,18 @@ Hashlib provides the following constant attributes:
.. data:: algorithms_guaranteed .. data:: algorithms_guaranteed
Contains the names of the hash algorithms guaranteed to be supported A set containing the names of the hash algorithms guaranteed to be supported
by this module on all platforms. by this module on all platforms.
.. versionadded:: 3.2 .. versionadded:: 3.2
.. data:: algorithms_available .. data:: algorithms_available
Contains the names of the hash algorithms that are available A set containing the names of the hash algorithms that are available in the
in the running Python interpreter. These names will be recognized running Python interpreter. These names will be recognized when passed to
when passed to :func:`new`. :attr:`algorithms_guaranteed` :func:`new`. :attr:`algorithms_guaranteed` will always be a subset. The
will always be a subset. Duplicate algorithms with different same algorithm may appear multiple times in this set under different names
name formats may appear in this set (thanks to OpenSSL). (thanks to OpenSSL).
.. versionadded:: 3.2 .. versionadded:: 3.2