KEMBAR78
Delete `EnumMeta.__setattr__` and `EnumMeta.__delattr__` by AlexWaygood · Pull Request #7388 · python/typeshed · GitHub
Skip to content

Conversation

@AlexWaygood
Copy link
Member

And add a comment to object.__setattr__ and object.__delattr__.

Fixes #7385 (cc. @erictraut)

@github-actions
Copy link
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@JelleZijlstra JelleZijlstra merged commit 4f0d8c5 into python:master Feb 27, 2022
@AlexWaygood AlexWaygood deleted the enum branch February 27, 2022 12:15
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.

Enum values on enum class can't be reassigned or deleted

2 participants