%PDF- %PDF-
| Direktori : /opt/plesk/python/2.7/lib/python2.7/site-packages/dns/ |
| Current File : //opt/plesk/python/2.7/lib/python2.7/site-packages/dns/namedict.pyc |
�
�ac @ sK d Z d d l Z d d l Z d d l m Z d e j f d � � YZ d S( s DNS name dictionaryi����Ni ( t xranget NameDictc B sn e Z d Z d d d g Z d � Z d � Z d � Z d � Z d � Z d � Z d
� Z
d � Z d � Z RS(
s� A dictionary whose keys are dns.name.Name objects.
In addition to being like a regular Python dictionary, this
dictionary can also get the deepest match for a given key.
t max_deptht max_depth_itemst __storec O sK t t | � j � t � | _ d | _ d | _ | j t | | � � d S( Ni ( t superR t __init__t dictt _NameDict__storeR R t update( t selft argst kwargs( ( sA /opt/plesk/python/2.7/lib/python2.7/site-packages/dns/namedict.pyR , s
c C s\ t | � | j k r( | j d | _ n0 t | � | j k rX t | � | _ d | _ n d S( Ni ( t lenR R ( R
t key( ( sA /opt/plesk/python/2.7/lib/python2.7/site-packages/dns/namedict.pyt __update_max_depth5 s
c C s | j | S( N( R ( R
R ( ( sA /opt/plesk/python/2.7/lib/python2.7/site-packages/dns/namedict.pyt __getitem__<