@staticmethod
    def _gen_tuples(list_object):
        while True:
            try:
                key = list_object.pop()
                value = list_object.pop()
            except __HOLE__:
                raise StopIteration
            else:
                yield key, value
dataset/ETHPy150Open saltstack/salt/salt/modules/ini_manage.py/_Ini._gen_tuples