Skip to content

Commit

Permalink
Add link to glossary for hashable term in docs for set type
Browse files Browse the repository at this point in the history
  • Loading branch information
asvetlov committed Apr 5, 2013
1 parent e463b66 commit 9a411ce
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Doc/library/stdtypes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 9a411ce

Please sign in to comment.