Replies: 1 comment
-
#I was also wondering about it recently (#1008) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
It is great we support flag and int enum now. The implementation creates builtin Python enum type, but why does it want to override the
__str__
and__repr__
methods? What is the problem with the implementation of the builtin type? Thanks.nanobind/src/nb_enum.cpp
Lines 75 to 76 in d4b245a
Beta Was this translation helpful? Give feedback.
All reactions