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

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


http://hg.python.org/cpython/rev/b891bf435f69
changeset:   83111:b891bf435f69
branch:      2.7
parent:      83108:fd269fbc10be
user:        Andrew Svetlov <andrew.svetlov at gmail.com>
date:        Fri Apr 05 16:21:39 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
@@ -1738,9 +1738,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