def __init__(self, initlist=[]):
        """
        Items in initlist can either be
        - tuples of (key,values)
        - or plain values
        Keys can be None or empty strings in item tuples.
        """
        self.values = []
        self.keys = []
        for idx, item in enumerate(initlist):
            try:
                key, value = item
                key = None if key == '' else key
            except (TypeError, __HOLE__):
                value = item
                key = None
            finally:
                self.values.append(value)
                self.keys.append(key)
dataset/ETHPy150Open ralhei/pyRserve/pyRserve/taggedContainers.py/TaggedList.__init__