Portion constructor

init(self)

Initializes a new instance of the Portion class.

def __init__(self):
    ...

init(self, str)

Initializes a new instance of the Portion class.

def __init__(self, str):
    ...
ParameterTypeDescription
strstr

init(self, portion)

Initializes a new instance of the Portion class.

def __init__(self, portion):
    ...
ParameterTypeDescription
portionPortion

See Also