your_package.your_module module

Top level description of your module.

class your_package.your_module.TemplateClass(foo=0, bar=0)[source]

Bases: object

The template class does nothing.

See https://numpydoc.readthedocs.io/en/latest/format.html. For how this docstring is layed out.

foo

A useless attribute.

Type:int
bar

Another useless attribute.

Type:int
Parameters:
  • foo (float, optional) – The first number to multiply by, default is 0
  • bar (float, optional) – The second number to multiply by, default is 0
__add__(self, other)[source]

return (self.foo * self.bar) + (other.foo * other.bar)