(value)
Returns an iterator representing flat representation of a given value

    >>> [_ for _ in flattenValue([[u'1'], [[u'2'], u'3']])]
    [u'1', u'2', u'3']
Returns an iterator representing flat representation of a given value
Returns an iterator representing flat representation of a given value
def flattenValue(value):
    """
    Returns an iterator representing flat representation of a given value

    >>> [_ for _ in flattenValue([[u'1'], [[u'2'], u'3']])]
    [u'1', u'2', u'3']
    """

    for i in iter(value):
        if isListLike(i):
            for j in flattenValue(i):
                yield j
        else:
            yield i
def flattenValue ( value ) : for i in iter ( value ) : if isListLike ( i ) : for j in flattenValue ( i ) : yield j else : yield i