Class CaseInsensitiveMapping
Mapping allowing case-insensitive key lookups. Original case of keys is preserved for iteration and string representation.
Declaration
class CaseInsensitiveMapping(Mapping)
source linkDocumentation
Example::
>>> ci_map = CaseInsensitiveMapping({'name': 'Jane'})
>>> ci_map['Name']
Jane
>>> ci_map['NAME']
Jane
>>> ci_map['name']
Jane
>>> ci_map # original case preserved
{'name': 'Jane'}
Methods
Overrides
This method is overriden in:
Overrides
This method is overriden in:
Subclasses
Reexports