-
Is there any way to define a classmethod for an extension class? I see staticmethod support is well documented but couldn't find anything for classmethod https://nanobind.readthedocs.io/en/latest/classes.html#frequently-used |
Beta Was this translation helpful? Give feedback.
Answered by
wjakob
Feb 5, 2024
Replies: 1 comment
-
It's not yet supported, and I'm happy to accept external contributions to realize such a feature (with the usual caveats: the change will need to be sufficiently small/self-contained) |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
WillAyd
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It's not yet supported, and I'm happy to accept external contributions to realize such a feature (with the usual caveats: the change will need to be sufficiently small/self-contained)