From: Andrew Svetlov Date: Fri, 5 Apr 2013 13:21:50 +0000 (+0300) Subject: Add link to glossary for hashable term in docs for set type X-Git-Tag: v3.3.2~164 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9a411ce9ea01017691ceb0c19ea1c8d1d1c34f4a;p=thirdparty%2FPython%2Fcpython.git Add link to glossary for hashable term in docs for set type --- diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index 60df11d130c9..6ab7c37ee1ba 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: