veranda package

Subpackages

Submodules

veranda.utils module

veranda.utils.to_list(arg) list[source]

Converts non-iterable object to a list. If arg is already a list or tuple the same object is returned.

Parameters

arg (non-iterable or list or tuple) – Non-iterable, which should be converted to a list.

Returns

arg_list – List containing arg as a value.

Return type

list or tuple

Module contents