class documentation
class InsensitiveDict(MutableMapping[
Constructor: InsensitiveDict(dict, preserve)
Dictionary, that has case-insensitive keys.
Normally keys are retained in their original form when queried with .keys() or .items(). If initialized with preserveCase=0, keys are both looked up in lowercase and returned in lowercase by .keys() and .items().
Method | __delitem__ |
Undocumented |
Method | __eq__ |
Undocumented |
Method | __getitem__ |
Retrieve the value associated with 'key' (in any case). |
Method | __init__ |
Create an empty dictionary, or update from 'dict'. |
Method | __len__ |
Undocumented |
Method | __repr__ |
String representation of the dictionary. |
Method | __setitem__ |
Associate 'value' with 'key'. If 'key' already exists, but in different case, it will be replaced. |
Method | clear |
Undocumented |
Method | copy |
Undocumented |
Method | get |
Retrieve value associated with 'key' or return default value if 'key' doesn't exist. |
Method | has |
Case insensitive test whether 'key' exists. |
Method | items |
List of (key,value) pairs. |
Method | iteritems |
Undocumented |
Method | iterkeys |
Undocumented |
Method | itervalues |
Undocumented |
Method | keys |
List of keys in their original case. |
Method | pop |
No summary |
Method | popitem |
Undocumented |
Method | setdefault |
If 'key' doesn't exist, associate it with the 'default' value. Return value associated with 'key'. |
Method | update |
Copy (key,value) pairs from 'dict'. |
Method | values |
List of values. |
Instance Variable | data |
Undocumented |
Instance Variable | preserve |
Undocumented |
Method | _do |
Undocumented |
Method | _lower |
Undocumented |
Class Variable | _not |
Undocumented |