asda?‰PNG  IHDR ? f ??C1 sRGB ??é gAMA ±? üa pHYs ? ??o¨d GIDATx^íüL”÷e÷Y?a?("Bh?_ò???¢§?q5k?*:t0A-o??¥]VkJ¢M??f?±8\k2íll£1]q?ù???T 3 bW]@s6dZddlZddlZddlmZGdddejZdS)zDNS name dictionaryN)xrangec@sbeZdZdZdddgZddZddZd d Zd d Zd dZ ddZ ddZ ddZ ddZ dS)NameDictaA dictionary whose keys are dns.name.Name objects. @ivar max_depth: the maximum depth of the keys that have ever been added to the dictionary. @type max_depth: int @ivar max_depth_items: the number of items of maximum depth @type max_depth_items: int max_depthmax_depth_itemsZ__storecOs(t|_d|_d|_|jt||dS)Nr)dict_NameDict__storerrupdate)selfargskwargsr /usr/lib/python3.6/namedict.py__init__-szNameDict.__init__cCs>t||jkr|jd|_nt||jkr:t||_d|_dS)Nr)lenrr)r keyr r rZ__update_max_depth3s  zNameDict.__update_max_depthcCs |j|S)N)r)r rr r r __getitem__:szNameDict.__getitem__cCs.t|tjjstd||j|<|j|dS)NzNameDict key must be a name) isinstancednsnameName ValueErrorr_NameDict__update_max_depth)r rvaluer r r __setitem__=s zNameDict.__setitem__cCsT|jj|}t||jkr&|jd|_|jdkrPd|_x|jD]}|j|q>WdS)Nrr)rpoprrrr)r rrkr r r __delitem__Cs    zNameDict.__delitem__cCs t|jS)N)iterr)r r r r__iter__LszNameDict.__iter__cCs t|jS)N)rr)r r r r__len__OszNameDict.__len__cCs ||jkS)N)r)r rr r rhas_keyRszNameDict.has_keycCsnt|}||jkr|j}xs