Skip to content

Fix Exception message for set_item call on FrozenDict#13560

Open
cartesian-plane wants to merge 1 commit intohuggingface:mainfrom
cartesian-plane:fix-frozendict-setitem-exception
Open

Fix Exception message for set_item call on FrozenDict#13560
cartesian-plane wants to merge 1 commit intohuggingface:mainfrom
cartesian-plane:fix-frozendict-setitem-exception

Conversation

@cartesian-plane
Copy link
Copy Markdown

What does this PR do?

Previously it was set up to show __setattr__, likely due to a copy-paste error.
This is a minor fix as it just makes the error message correct.

Before submitting

Who can review?

Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.

@patrickvonplaten

Previously it was set up to show `__setattr__`, likely due to a copy-paste error.
This is a minor fix as it just makes the error message correct.
@github-actions github-actions Bot added the size/S PR with diff < 50 LOC label Apr 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/S PR with diff < 50 LOC

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant