[Python-checkins] cpython (3.3): Add link to glossary for hashable term in docs for set type

andrew.svetlov python-checkins at python.org
Fri Apr 5 15:22:36 CEST 2013


http://hg.python.org/cpython/rev/a7f65fface40
changeset:   83112:a7f65fface40
branch:      3.3
parent:      83109:9610ede72ed2
user:        Andrew Svetlov <andrew.svetlov at gmail.com>
date:        Fri Apr 05 16:21:50 2013 +0300
summary:
  Add link to glossary for hashable term in docs for set type

files:
  Doc/library/stdtypes.rst |  7 ++++---
  1 files changed, 4 insertions(+), 3 deletions(-)


diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst
--- a/Doc/library/stdtypes.rst
+++ b/Doc/library/stdtypes.rst
@@ -2811,9 +2811,10 @@
            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:

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list