You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
classAdder:
"An addition calculator"def__init__(self,
a:int, # First operandb:int, # 2nd operand
): self.a,self.b=a,bdefcalculate(self
)->int: # Integral result of addition operator"Add `a` to `b`"returna+bshow_doc(Adder.calculate)
I would expect there to be a table entry with "Integral result of addition operator".
The text was updated successfully, but these errors were encountered:
Example from the documentation:
I would expect there to be a table entry with "Integral result of addition operator".
The text was updated successfully, but these errors were encountered: