From 4cb7fca89f27f81cf784bc9bbaf9350e216615ee Mon Sep 17 00:00:00 2001 From: Ezio Melotti Date: Tue, 12 Jan 2016 11:36:25 +0200 Subject: [PATCH] #25574: backport glossary doc fix about hash and id of user-defined classes. --- Doc/glossary.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/glossary.rst b/Doc/glossary.rst index 6a6feba21c..cbd1237f8e 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 -- 2.50.1