Repository navigation
Add __call__ to Sphinx API docs - #2135
Conversation
|
I tried figuring this out a year ago and gave up so I'm glad to see this working! 👍 to merging and having this work for all |
There was a problem hiding this comment.
This doesn't seem right somehow - it's going to ignore ns['methods'] from the previous line. Would:
ns['methods'], ns['all_methods'] = get_members_class(obj, 'method', ['__init__', '__call__'])
not work?
There was a problem hiding this comment.
I changed this (by amending my previous commit) ... it doesn't seem to change the generated html though as far as I can see?!
|
@astrofrog You can find the html version corresponding to the latest d893d79 |
|
@eteq It was @astrofrog that figured this out ... I just tried out his suggestions and it works. I've added an entry to the change log. |
|
@cdeil - I think this needs to be rebased. Also while you do that, could you fix the second commit message to say |
|
Ah, well, then nice job @astrofrog , and nice job @cdeil for implementing it 😃 |
|
@astrofrog Rebased and second commit squashed. |
|
Looks good to me - @astrofrog, good to merge? |
|
@astrofrog Is this OK or should I rebase again? |
|
Looks good! |
Add __call__ to Sphinx API docs
Add __call__ to Sphinx API docs
This PR fixes #1817.