switch_model/utilities/__init__.py
def make_iterable(item):
    """Return an iterable for the one or more items passed."""
    if isinstance(item, string_types):
        i = iter([item])
    else:
        try:
            # check if it's iterable
            i = iter(item)
        except TypeError:
            i = iter([item])
    return i
Return an iterable for the one or more items passed.
Return an iterable for the one or more items passed.
Return an iterable for the one or more items passed .
def make_iterable(item):
    if isinstance(item, string_types):
        i = iter([item])
    else:
        try:
            i = iter(item)
        except TypeError:
            i = iter([item])
    return i
def make_iterable ( item ) : if isinstance ( item , string_types ) : i = iter ( [ item ] ) else : try : i = iter ( item ) except TypeError : i = iter ( [ item ] ) return i
Return an iterable for the one or more items passed.
Return an iterable for the one or more items passed .
"""Return an iterable for the one or more items passed.""" # check if it's iterable
item