![]() |
Qucs-S S-parameter Viewer & RF Synthesis Tools
|


Public Member Functions | |
| __init__ (self, *maps) | |
| __missing__ (self, key) | |
| __getitem__ (self, key) | |
| get (self, key, default=None) | |
| __len__ (self) | |
| __iter__ (self) | |
| __contains__ (self, key) | |
| __bool__ (self) | |
| __repr__ (self) | |
| fromkeys (cls, iterable, *args) | |
| copy (self) | |
| new_child (self) | |
| parents (self) | |
| __setitem__ (self, key, value) | |
| __delitem__ (self, key) | |
| popitem (self) | |
| pop (self, key, *args) | |
| clear (self) | |
Public Attributes | |
| maps | |
A ChainMap groups multiple dicts (or other mappings) together to create a single, updateable view. The underlying mappings are stored in a list. That list is public and can accessed or updated using the *maps* attribute. There is no other state. Lookups search the underlying mappings successively until a key is found. In contrast, writes, updates, and deletions only operate on the first mapping.
| pip._vendor.distlib.compat.ChainMap.__init__ | ( | self, | |
| * | maps | ||
| ) |
Initialize a ChainMap by setting *maps* to the given mappings. If no mappings are provided, a single empty dictionary is used.