class documentation
class AliasingMonitorDict(AliasingDict[
The dictionary that supports aliasing, lazy dict and monitor.
Method | add |
Alias 'alias' to 'name'. |
Method | merge |
Merge the other `AliasingMonitorDict` into current class. |
Method | _copy |
Assign the dict `src` value to `tgt`. |
Method | _merge |
Undocumented |
Inherited from AliasingDict
:
Method | __contains__ |
Undocumented |
Method | __getitem__ |
Undocumented |
Method | __hash__ |
Undocumented |
Method | __init__ |
Undocumented |
Method | __repr__ |
Undocumented |
Method | __setitem__ |
Undocumented |
Method | clear |
Undocumented |
Method | copy |
Undocumented |
Method | fromkeys |
Undocumented |
Method | get |
Undocumented |
Method | has |
Undocumented |
Method | iteritems |
Undocumented |
Method | iterkeys |
Undocumented |
Method | itervalues |
Undocumented |
Method | pop |
Undocumented |
Method | popitem |
Undocumented |
Method | same |
Undocumented |
Method | setdefault |
Undocumented |
Method | update |
Undocumented |
Method | viewitems |
Undocumented |
Method | viewkeys |
Undocumented |
Method | viewvalues |
Undocumented |
Property | aliases |
Undocumented |
Instance Variable | _aliases |
Undocumented |
Inherited from MonitorDict
(via AliasingDict
):
Method | __delitem__ |
Undocumented |
Property | changestamp |
Undocumented |
Property | data |
Undocumented |
overrides
pytype.datatypes.AliasingDict.add_alias
Alias 'alias' to 'name'. After aliasing, we will think `alias` and `name`, they represent the same name. We will merge the values if `op` is provided. Args: alias: A string. name: A string. op: The function used to merge the values.