Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warn about mutating keys in Dict docstring. #51171

Merged

Conversation

GunnarFarneback
Copy link
Contributor

Be clear in the Dict docstring that it's not in general safe to mutate keys. Cf. https://discourse.julialang.org/t/unable-to-access-value-in-dict-via-known-keys/103434.

@rfourquet rfourquet added domain:docs This change adds or pertains to documentation domain:collections Data structures holding multiple items, e.g. sets labels Sep 8, 2023
@KristofferC KristofferC merged commit 5e85876 into JuliaLang:master Sep 8, 2023
8 checks passed
@GunnarFarneback GunnarFarneback deleted the doc_mutated_dict_keys branch October 12, 2023 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain:collections Data structures holding multiple items, e.g. sets domain:docs This change adds or pertains to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants