projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d65e2ba
)
#16128: clarify that instances of user-defined classes compare equal with themselves.
author
Ezio Melotti
<ezio.melotti@gmail.com>
Fri, 1 Feb 2013 03:18:44 +0000
(
05:18
+0200)
committer
Ezio Melotti
<ezio.melotti@gmail.com>
Fri, 1 Feb 2013 03:18:44 +0000
(
05:18
+0200)
Doc/glossary.rst
patch
|
blob
|
history
diff --git
a/Doc/glossary.rst
b/Doc/glossary.rst
index 198933b326d50e737c807a05aaeee87cf0e290b6..3641e5c189d1e1720af3256c9d50dbdf0da98982 100644
(file)
--- a/
Doc/glossary.rst
+++ b/
Doc/glossary.rst
@@
-330,7
+330,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, and their hash value is their :func:`id`.
+ compare unequal (except with themselves), and their hash value is their
+ :func:`id`.
IDLE
An Integrated Development Environment for Python. IDLE is a basic editor