pymel.util.utilitytypes.defaultdict

digraph inheritance733fdbed58 {
rankdir=TB;
ranksep=0.15;
nodesep=0.15;
size="8.0, 12.0";
  "defaultdict" [shape=box,fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,fontsize=8,style="setlinewidth(0.5)",height=0.25];
}

class defaultdict

defaultdict(default_factory) –> dict with default factory

The default factory is called without arguments to produce a new value when a key is not present, in __getitem__ only. A defaultdict compares equal to a dict with the same items.

copy
D.copy() -> a shallow copy of D.
default_factory
Factory for default value called by __missing__().

Previous topic

pymel.util.utilitytypes.TwoWayDict

Next topic

pymel.util.utilitytypes.defaultlist

Core

Core Modules

Other Modules

This Page