fastai / fastcore

Python supercharged for the fastai library

Home Page:http://fastcore.fast.ai

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

simonkeys opened this issue · comments

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".