CaselessDefaultDict
¶
digraph inheritance333a16af52 {
rankdir=UD;
ratio=compress;
size="8.0, 12.0";
"CaselessDefaultDict" [color=dodgerblue1,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded,tooltip="a join venture between caseless and default dict"];
"defaultdict_fromkey" -> "CaselessDefaultDict" [arrowsize=0.5,style="setlinewidth(0.5)"];
"CaselessDict" -> "CaselessDefaultDict" [arrowsize=0.5,style="setlinewidth(0.5)"];
"CaselessDict" [color=dodgerblue1,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded,tooltip="A case insensitive dictionary. Use this class as a normal dictionary."];
"defaultdict" [color=dodgerblue1,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded,tooltip="defaultdict(default_factory[, ...]) --> dict with default factory"];
"defaultdict_fromkey" [color=dodgerblue1,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded,tooltip="Creates a dictionary with a default_factory function that creates new elements using key as argument."];
"defaultdict" -> "defaultdict_fromkey" [arrowsize=0.5,style="setlinewidth(0.5)"];
}
-
class
CaselessDefaultDict
[source]¶ Bases:
taurus.core.util.containers.defaultdict_fromkey
,taurus.core.util.containers.CaselessDict
a join venture between caseless and default dict This class merges the two previous ones. This declaration equals to:
CaselessDefaultDict = type('CaselessDefaultType',(CaselessDict,defaultdict_fromkey),{})