[Python-checkins] cpython (merge 3.3 -> default): Add link to glossary for hashable term in docs for set type
andrew.svetlov
python-checkins at python.org
Fri Apr 5 15:22:38 CEST 2013
http://hg.python.org/cpython/rev/32c9a18ebe35
changeset: 83113:32c9a18ebe35
parent: 83110:6cf485ffd325
parent: 83112:a7f65fface40
user: Andrew Svetlov <andrew.svetlov at gmail.com>
date: Fri Apr 05 16:22:01 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