scamp_extensions.utilities.sequences.multi_option_method

scamp_extensions.utilities.sequences.multi_option_method(f)[source]

Same as multi_option_function(), but used to decorate methods instead of functions.

Parameters:

f – the method, taking at least one argument

Returns:

a wrapped version that can take list, tuple, or iterator