def __format_param(self, param):
        if isinstance(param, list):
            for p_ in param:
                yield p_
        else:
            yield param
@param param: Parameter.
dataset/ETHPy150Open seb-m/pyinotify/python2/pyinotify.py/WatchManager.__format_param