Package SCons :: Package Script :: Module SConscript' :: Class DefaultEnvironmentCall
[hide private]
[frames] | no frames]

Class DefaultEnvironmentCall

source code

object --+
         |
        DefaultEnvironmentCall

A class that implements "global function" calls of
Environment methods by fetching the specified method from the
DefaultEnvironment's class.  Note that this uses an intermediate
proxy class instead of calling the DefaultEnvironment method
directly so that the proxy can override the subst() method and
thereby prevent expansion of construction variables (since from
the user's point of view this was called as a global function,
with no associated construction environment).



Instance Methods [hide private]
 
__init__(self, method_name, subst=0)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
__call__(self, *args, **kw) source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, method_name, subst=0)
(Constructor)

source code 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)