Skip to content

Add super-minimal support for enum.member()#1931

Merged
copybara-service[bot] merged 1 commit into
mainfrom
cl/820345768
Oct 20, 2025
Merged

Add super-minimal support for enum.member()#1931
copybara-service[bot] merged 1 commit into
mainfrom
cl/820345768

Conversation

@copybara-service
Copy link
Copy Markdown

Add super-minimal support for enum.member()

This implementation is just as a no-op pass-through. This wrapper is not actually supposed to be no-op, but this is a close enough approximation. PyType already treats every member of an enum as a member. Wrapping it into enum.member() only makes it explicit and gives you the ability to write code that is compatible with both PyType and Python 3.13, which doesn't actually make everything a member anymore.

@copybara-service copybara-service Bot force-pushed the cl/820345768 branch 2 times, most recently from 4f487a3 to 0a41057 Compare October 20, 2025 12:36
PiperOrigin-RevId: 821615588
@copybara-service copybara-service Bot merged commit 268c04b into main Oct 20, 2025
@copybara-service copybara-service Bot deleted the cl/820345768 branch October 20, 2025 13:08
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