def __init__(self, *iterable, **kwargs):
        if iterable:
            if len(iterable) > 1:
                raise TypeError('%s exceped at most 1 arguments, got %s.' %
                                (self.__class__.__name__, len(iterable)))
            self.update(iterable[0])
        if kwargs:
            self.update(kwargs)
dataset/ETHPy150Open quantmind/pulsar/pulsar/utils/structures/misc.py/AttributeDictionary.__init__/original