__init__ constructor

On this page

init

Initializes a new XmpBoolean instance from a boolean value.

def __init__(self, value):
    ...
Parameter Type Description
value bool Boolean value.

init

Initializes a new instance of the XmpBoolean class with default value.

def __init__(self):
    ...

init

Initializes a new XmpBoolean instance.

def __init__(self, value):
    ...
Parameter Type Description
value str The value.
Raises Description
ValueError Invalid string value.

See Also

On this page