Create a new ChainMap with keys from iterable and values set to value.
(cls, iterable, value=None, /)
| 1093 | |
| 1094 | @classmethod |
| 1095 | def fromkeys(cls, iterable, value=None, /): |
| 1096 | 'Create a new ChainMap with keys from iterable and values set to value.' |
| 1097 | return cls(dict.fromkeys(iterable, value)) |
| 1098 | |
| 1099 | def copy(self): |
| 1100 | 'New ChainMap or subclass with a new copy of maps[0] and refs to maps[1:]' |