]> 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:39 +0000 (16:21 +0300)
committerAndrew Svetlov <andrew.svetlov@gmail.com>
Fri, 5 Apr 2013 13:21:39 +0000 (16:21 +0300)
Doc/library/stdtypes.rst

index 2761410f0a1ed72e2f461094bd64cc4dde647855..5d6d35343e01148c12732a5af16a335dc4c7d197 100644 (file)
@@ -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: