Skip to content
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

show_doc does not display return value docment for function/method with no arguments #503

Open
simonkeys opened this issue Dec 13, 2022 · 0 comments

Comments

@simonkeys
Copy link

Example from the documentation:

class Adder:
    "An addition calculator"
    def __init__(self,
        a:int, # First operand
        b:int, # 2nd operand
    ): self.a,self.b = a,b
    
    def calculate(self
                 )->int: # Integral result of addition operator
        "Add `a` to `b`"
        return a+b

show_doc(Adder.calculate)

Screen Shot 2022-12-13 at 2 02 48 AM

I would expect there to be a table entry with "Integral result of addition operator".

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

No branches or pull requests

1 participant