@classmethod
    def fromkeys(cls, iterable, *args):
        return cls(dict.fromkeys(iterable, *args))
Create a ChainMap with a single dict created from the iterable.
dataset/ETHPy150Open ionelmc/python-aspectlib/src/aspectlib/py2chainmap.py/ChainMap.fromkeys