Kaydet (Commit) 4cb7fca8 authored tarafından Ezio Melotti's avatar Ezio Melotti

#25574: backport glossary doc fix about hash and id of user-defined classes.

üst 7f62062b
...@@ -346,8 +346,8 @@ Glossary ...@@ -346,8 +346,8 @@ Glossary
All of Python's immutable built-in objects are hashable, while no mutable All of Python's immutable built-in objects are hashable, while no mutable
containers (such as lists or dictionaries) are. Objects which are containers (such as lists or dictionaries) are. Objects which are
instances of user-defined classes are hashable by default; they all instances of user-defined classes are hashable by default; they all
compare unequal (except with themselves), and their hash value is their compare unequal (except with themselves), and their hash value is derived
:func:`id`. from their :func:`id`.
IDLE IDLE
An Integrated Development Environment for Python. IDLE is a basic editor An Integrated Development Environment for Python. IDLE is a basic editor
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment