summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorAndrew Svetlov <andrew.svetlov@gmail.com>2013-04-05 13:22:01 (GMT)
committerAndrew Svetlov <andrew.svetlov@gmail.com>2013-04-05 13:22:01 (GMT)
commitcb04acf425ab8cd0921707a73eab10e8c0137f15 (patch)
tree83234d26e02ddfc0509f1913e400c78a67b1f319 /Doc
parenta5b89c178b953bb69b01945d0061a6ad2a765674 (diff)
parent9a411ce9ea01017691ceb0c19ea1c8d1d1c34f4a (diff)
downloadcpython-cb04acf425ab8cd0921707a73eab10e8c0137f15.zip
cpython-cb04acf425ab8cd0921707a73eab10e8c0137f15.tar.gz
cpython-cb04acf425ab8cd0921707a73eab10e8c0137f15.tar.bz2
Add link to glossary for hashable term in docs for set type
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/stdtypes.rst7
1 files changed, 4 insertions, 3 deletions
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst
index 60df11d..6ab7c37 100644
--- a/Doc/library/stdtypes.rst
+++ b/Doc/library/stdtypes.rst
@@ -2811,9 +2811,10 @@ The constructors for both classes work the same:
frozenset([iterable])
Return a new set or frozenset object whose elements are taken from
- *iterable*. The elements of a set must be hashable. To represent sets of
- sets, the inner sets must be :class:`frozenset` objects. If *iterable* is
- not specified, a new empty set is returned.
+ *iterable*. The elements of a set must be :term:`hashable`. To
+ represent sets of sets, the inner sets must be :class:`frozenset`
+ objects. If *iterable* is not specified, a new empty set is
+ returned.
Instances of :class:`set` and :class:`frozenset` provide the following
operations: