-
-
Notifications
You must be signed in to change notification settings - Fork 386
Adding docstrings to classes created with make_class
#1309
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
Comments
Hmm ok, having read #8, I suspect the answer to this is that it is impossible. If any maintainers/experts think otherwise though, I'd be interested to hear their thoughts. |
You can wrap |
I'm not sure that works in all cases (at least #8 discusses lots of cases where it appears more complex), but that is certainly a possible workaround. |
If I remember correctly, just attaching |
also #1294 seems to be tangentially related |
Passing |
oh nice, assigning works too, btw. I tried both and then called looks like this behavior changed since Python 2 because there it doesn't:
this means we could move a nontrivial number of issues forward if people care enough about these topics? |
Hi there, I might have missed something. If I have my apologies.
My question is pretty basic: is there a way to add a docstring to class created with
make_class
? For exampleThanks for any help
The text was updated successfully, but these errors were encountered: