def make_list(str_or_list):
    if isinstance(str_or_list, basestring):
        return [str_or_list,]
    return str_or_list
.. todo::
dataset/ETHPy150Open svetlyak40wt/gtdzen/gtdzen/utils.py/make_list--crossover with--dataset/ETHPy150Open lisa-lab/pylearn2/pylearn2/sandbox/cuda_convnet/stochastic_pool.py/WeightedMaxPool.make_node