SCons.Script.SConscript'.DefaultEnvironmentCall

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

# Class DefaultEnvironmentCall

source code
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) | source code
__call__(self, *args, **kw) | source code