Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)
Joins list and generator.

:param iterable1: List to be appended.
:type iterable1: Generator

:param iterable2: Generator to be appended.
:type iterable2: generator

:return: Generator yielding first iterable1, and then following iterable2.
:rtype: generator

        def join_iterators(iterable1, iterable2):
    """Joins list and generator.
    
    :param iterable1: List to be appended.
    :type iterable1: Generator
    
    :param iterable2: Generator to be appended.
    :type iterable2: generator
    
    :return: Generator yielding first iterable1, and then following iterable2.
    :rtype: generator
    
    """
    for item1 in iterable1:
        yield item1

    for item2 in iterable2:
        yield item2
        


src/m/p/mpeg1audio-0.5.2/src/mpeg1audio/__init__.py   mpeg1audio(Download)
        # TODO: ASSUMPTION: Iterating frames uses parsing all chunk size.
        return utils.join_iterators(\
                 self._begin_frames,
                 self._begin_frames[-1].\
                    get_forward_iterator(self.mpeg._file,

src/m/p/mpeg1audio-HEAD/src/mpeg1audio/__init__.py   mpeg1audio(Download)
        # TODO: ASSUMPTION: Iterating frames uses parsing all chunk size.
        return utils.join_iterators(\
                 self._begin_frames,
                 self._begin_frames[-1].\
                    get_forward_iterator(self.mpeg._file,