2 Makes an iteratable object out of the given value. If value is already
3 iterable, it is simply returned. An exception is made for strings, which
4 are treated as non-iterable (It is assumed that you never want to have a
5 list of characters). For non iteratable values or strings, a list
6 containing only value is returned.
9 if (not isinstance(value, basestring)):
16 # vim: set sts=4 sw=4 expandtab:
19 Decarator that catches any exception raised by the decorated function,
20 prints it to stdout and raises it again.
23 def show(*args, **kwargs):