Did I find the right examples for you? yes no

All Samples(3)  |  Call(2)  |  Derive(0)  |  Import(1)

        def isiter(value):
    return isinstance(value, collections.Iterable) and not isinstance(value, strtype)

src/g/r/grako-2.4.1/grako/rendering.py   grako(Download)
import itertools
import string
from .util import trim, ustr, isiter, strtype, indent
    elif isinstance(item, Renderer):
        return item.render(join=join, **fields)
    elif isiter(item):
        return join.join(render(e, join=join, **fields) for e in iter(item) if e is not None)
            fmt = '%s'
        if isiter(value):
            return indent(sep.join(fmt % self.render(v) for v in value), ind, mult)