Skip to content

WIP: Add dict.take_frozendict() method - #16

Draft
vstinner wants to merge 4 commits into
mainfrom
take_immutable
Draft

WIP: Add dict.take_frozendict() method#16
vstinner wants to merge 4 commits into
mainfrom
take_immutable

Conversation

@vstinner

Copy link
Copy Markdown
Owner

Add dict.take_frozendict(), list.take_tuple() and set.take_frozenset() methods.

Use these new take methods in the stdlib.

vstinner added 2 commits July 10, 2026 20:04
Add dict.take_frozendict(), list.take_tuple() and
set.take_frozenset() methods.
@vstinner vstinner changed the title Add dict.take_frozendict() method WIP: Add dict.take_frozendict() method Jul 10, 2026
@vstinner

Copy link
Copy Markdown
Owner Author

I wrote this draft PR to add examples to https://discuss.python.org/t/add-a-dict-method-to-convert-to-a-frozendict/108102/16 discussion.

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.

1 participant