]> granicus.if.org Git - python/commitdiff
#25574: backport glossary doc fix about hash and id of user-defined classes.
authorEzio Melotti <ezio.melotti@gmail.com>
Tue, 12 Jan 2016 09:36:25 +0000 (11:36 +0200)
committerEzio Melotti <ezio.melotti@gmail.com>
Tue, 12 Jan 2016 09:36:25 +0000 (11:36 +0200)
Doc/glossary.rst

index 6a6feba21c9a9640d3cdd32bf843362ee9c994bf..cbd1237f8e5fdff773b3f651bf83e5bcbe36abf9 100644 (file)
@@ -346,8 +346,8 @@ Glossary
       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