[Python-checkins] cpython (2.7): #25574: backport glossary doc fix about hash and id of user-defined classes.
ezio.melotti
python-checkins at python.org
Tue Jan 12 04:36:37 EST 2016
https://hg.python.org/cpython/rev/499ee454eecc
changeset: 99878:499ee454eecc
branch: 2.7
parent: 99873:ddb8fa84a119
user: Ezio Melotti <ezio.melotti at gmail.com>
date: Tue Jan 12 11:36:25 2016 +0200
summary:
#25574: backport glossary doc fix about hash and id of user-defined classes.
files:
Doc/glossary.rst | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Doc/glossary.rst b/Doc/glossary.rst
--- a/Doc/glossary.rst
+++ b/Doc/glossary.rst
@@ -346,8 +346,8 @@
All of Python's immutable built-in objects are hashable, while no mutable
containers (such as lists or dictionaries) are. Objects which are
instances of user-defined classes are hashable by default; they all
- compare unequal (except with themselves), and their hash value is their
- :func:`id`.
+ compare unequal (except with themselves), and their hash value is derived
+ from their :func:`id`.
IDLE
An Integrated Development Environment for Python. IDLE is a basic editor
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list