New ChainMap or subclass with a new copy of maps[0] and refs to maps[1:]
(self)
| 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:]' |
| 1101 | return self.__class__(self.maps[0].copy(), *self.maps[1:]) |
| 1102 | |
| 1103 | __copy__ = copy |
| 1104 |