Skip to content

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Nov 15, 2025

@vstinner vstinner mentioned this pull request Nov 15, 2025
@efimov-mikhail
Copy link
Member

efimov-mikhail commented Nov 15, 2025

There's another typo:

"Keys must be hashable and so immutable, but values can be mutable. Using immutable values creates a hashtable frozendict." ->
"Keys must be hashable and so immutable, but values can be mutable. Using immutable values creates a hashable frozendict."

And maybe it'll be better to stress that values can not be changed (in terms of pointers/objects) but they can be mutable objects itself? This difference was not very obvious to me at the first reading attempt.

@nschneid
Copy link

"hashable and therefore immutable"?

@vstinner vstinner marked this pull request as ready for review November 17, 2025 14:45
@vstinner vstinner requested a review from corona10 as a code owner November 17, 2025 14:45
@vstinner vstinner merged commit edbdf98 into python:main Nov 17, 2025
5 checks passed
@vstinner vstinner deleted the pep814_update2 branch November 17, 2025 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants