File: //proc/self/root/lib64/python3.9/site-packages/ldap/__pycache__/cidict.cpython-39.pyc
a
�.d � @ sP d Z ddlZddlmZ ddlmZ G dd� de�Zdd� Zd d
� Zdd� Z dS )
z�
This is a convenience wrapper for dictionaries
returned from LDAP servers containing attribute
names of variable case.
See https://www.python-ldap.org/ for details.
� N)�MutableMapping)�__version__c @ sv e Zd ZdZdZddd�Zdd� Zdd � Zd
d� Zdd
� Z dd� Z
dd� Zdd� Zdd� Z
e
Zdd� Zedd� �ZdS )�cidictz:
Case-insensitive but case-respecting dictionary.
)�_keys�_dataNc C s i | _ i | _|r| �|� d S �N)r r �update)�self�default� r �1/usr/lib64/python3.9/site-packages/ldap/cidict.py�__init__ s zcidict.__init__c C s | j |�� S r )r �lower�r �keyr r r �__getitem__ s zcidict.__getitem__c C s |� � }|| j|<