Package SCons :: Module Environment :: Class BuilderDict
[hide private]
[frames] | no frames]

Class BuilderDict

source code

UserDict.UserDict --+
                    |
                   BuilderDict

This is a dictionary-like class used by an Environment to hold the Builders. We need to do this because every time someone changes the Builders in the Environment's BUILDERS dictionary, we must update the Environment's attributes.
Instance Methods [hide private]
 
__init__(self, dict, env) source code
 
__semi_deepcopy__(self) source code
 
__setitem__(self, item, val) source code
 
__delitem__(self, item) source code
 
update(self, dict) source code

Inherited from UserDict.UserDict: __cmp__, __contains__, __getitem__, __len__, __repr__, clear, copy, get, has_key, items, iteritems, iterkeys, itervalues, keys, pop, popitem, setdefault, values

Class Methods [hide private]

Inherited from UserDict.UserDict: fromkeys

Class Variables [hide private]

Inherited from UserDict.UserDict: __hash__

Method Details [hide private]

__init__(self, dict, env)
(Constructor)

source code 
Overrides: UserDict.UserDict.__init__

__setitem__(self, item, val)
(Index assignment operator)

source code 
Overrides: UserDict.UserDict.__setitem__

__delitem__(self, item)
(Index deletion operator)

source code 
Overrides: UserDict.UserDict.__delitem__

update(self, dict)

source code 
Overrides: UserDict.UserDict.update