diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2016-01-12 09:36:25 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2016-01-12 09:36:25 (GMT) |
commit | 4cb7fca89f27f81cf784bc9bbaf9350e216615ee (patch) | |
tree | 7aadcfe63e8412549c9720bda631c98f9a4d3ad6 | |
parent | 7f62062be1c049d5ff8c7be6d3206e5395142828 (diff) | |
download | cpython-4cb7fca89f27f81cf784bc9bbaf9350e216615ee.zip cpython-4cb7fca89f27f81cf784bc9bbaf9350e216615ee.tar.gz cpython-4cb7fca89f27f81cf784bc9bbaf9350e216615ee.tar.bz2 |
#25574: backport glossary doc fix about hash and id of user-defined classes.
-rw-r--r-- | Doc/glossary.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/glossary.rst b/Doc/glossary.rst index 6a6feba..cbd1237 100644 --- a/Doc/glossary.rst +++ b/Doc/glossary.rst @@ -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 |