Class p.c.p.FactoryDict(object):

Part of pida.core.plugins View In Hierarchy

A factory dict is a dictionary that creates objects, once, when they are first accessed from a factory supplied at runtime. The factory accepts one argument, the suplied key, and generates an object to be held on the dictionary.
Line # Kind Name Docs
378 Method __init__ Creates a FactoryDict instance with the appropriate factory
390 Class Method __getitem__ Undocumented
398 Class Method __delitem__ Undocumented
405 Class Method __repr__ Undocumented
def __init__(self, factory):
Creates a FactoryDict instance with the appropriate factory function.

@param factory: the function that creates objects according to the supplied key.

@classmethod
def __getitem__(self, key):
Undocumented
@classmethod
def __delitem__(self, key):
Undocumented
@classmethod
def __repr__(self):
Undocumented
API Documentation for PIDA, generated by pydoctor.