Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
pip._vendor.distlib.compat.ChainMap Class Reference
Inheritance diagram for pip._vendor.distlib.compat.ChainMap:
Inheritance graph
[legend]
Collaboration diagram for pip._vendor.distlib.compat.ChainMap:
Collaboration graph
[legend]

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
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ __init__()

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.

The documentation for this class was generated from the following file: