Commit 7eba9dba authored by Andrew Svetlov's avatar Andrew Svetlov

Add link to glossary for hashable term in docs for set type

parent c8986682
......@@ -1738,9 +1738,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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment