summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2014-03-11 19:26:12 (GMT)
committerBenjamin Peterson <benjamin@python.org>2014-03-11 19:26:12 (GMT)
commit8e4b3c7f55766080c3df325e5d06da3c38bb6561 (patch)
tree9940010140748a9af620c99854c7b4ec3d7bbe3b
parentbfca3ca114c1ca6fc824c103a7a5048986333a42 (diff)
downloadcpython-8e4b3c7f55766080c3df325e5d06da3c38bb6561.zip
cpython-8e4b3c7f55766080c3df325e5d06da3c38bb6561.tar.gz
cpython-8e4b3c7f55766080c3df325e5d06da3c38bb6561.tar.bz2
improve algorithms_* documentation
-rw-r--r--Doc/library/hashlib.rst12
1 files changed, 6 insertions, 6 deletions
diff --git a/Doc/library/hashlib.rst b/Doc/library/hashlib.rst
index 49fedec..a693f7e 100644
--- a/Doc/library/hashlib.rst
+++ b/Doc/library/hashlib.rst
@@ -95,18 +95,18 @@ Hashlib provides the following constant attributes:
.. 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.
.. versionadded:: 3.2
.. data:: algorithms_available
- Contains the names of the hash algorithms that are available
- in the running Python interpreter. These names will be recognized
- when passed to :func:`new`. :attr:`algorithms_guaranteed`
- will always be a subset. Duplicate algorithms with different
- name formats may appear in this set (thanks to OpenSSL).
+ A set containing the names of the hash algorithms that are available in the
+ running Python interpreter. These names will be recognized when passed to
+ :func:`new`. :attr:`algorithms_guaranteed` will always be a subset. The
+ same algorithm may appear multiple times in this set under different names
+ (thanks to OpenSSL).
.. versionadded:: 3.2