]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Add link to glossary for hashable term in docs for set type
authorAndrew Svetlov <andrew.svetlov@gmail.com>
Fri, 5 Apr 2013 13:21:50 +0000 (16:21 +0300)
committerAndrew Svetlov <andrew.svetlov@gmail.com>
Fri, 5 Apr 2013 13:21:50 +0000 (16:21 +0300)
Doc/library/stdtypes.rst

index 60df11d130c92ad0f62a831457cc77e8dd92f77f..6ab7c37ee1ba3d5afdcf18c338f257a3327ffd6b 100644 (file)
@@ -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: