example.mod_a
source module example.mod_a
Module A.
Classes
-
ClassA — Class A.
Functions
-
func_a — Function A.
-
sum_and_product — Computes the sum and product of two integers
Class A.
Parameters
-
a : str — A string.
Attributes
-
attr_a : str — Attribute A.
Methods
source method ClassA.method_a(x: Iterable[str], y: ClassB) → ClassA
Function A.
Parameters
-
x : int — An integer.
Returns
-
int — An integer.
See Also
source sum_and_product(x, y)
Computes the sum and product of two integers
Parameters
-
x : int
-
y : int
Returns
-
s : int — sum of x and y
-
p : int — product of x and y