Create a ChainMap with a single dict created from the iterable.
(cls, iterable, *args)
| 315 | |
| 316 | @classmethod |
| 317 | def fromkeys(cls, iterable, *args): |
| 318 | # type: (type, Iterable, *Any) -> 'ChainMap' |
| 319 | """Create a ChainMap with a single dict created from the iterable.""" |
| 320 | return cls(dict.fromkeys(iterable, *args)) |
| 321 | |
| 322 | def copy(self): |
| 323 | # type: () -> 'ChainMap' |