Skip to content

Note that frozendict is also a hashed collection that invokes the __hash__ method of objects in data model documentation #148867

Open
jonathandung wants to merge 1 commit intopython:mainfrom
jonathandung:patch-1
Open

Note that frozendict is also a hashed collection that invokes the __hash__ method of objects in data model documentation #148867
jonathandung wants to merge 1 commit intopython:mainfrom
jonathandung:patch-1

Conversation

@jonathandung
Copy link
Copy Markdown
Contributor

@jonathandung jonathandung commented Apr 22, 2026

The portion of the data model page documenting object.__hash__ currently acknowledges that besides the built-in hash function, 'operations on members of hashed collections including set, frozenset and dict' would also call __hash__. That list should be expanded in light of 3.15 implementing frozendict, which also falls into this category.


📚 Documentation preview 📚: https://cpython-previews--148867.org.readthedocs.build/

@jonathandung
Copy link
Copy Markdown
Contributor Author

Please add skip issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

2 participants