| Home | Trees | Index | Help |
|
|---|
| Package SCons :: Module Action :: Class FunctionAction |
|
ActionBase--+ |_ActionAction--+ | FunctionAction
Class for Python function actions.
| Method Summary | |
|---|---|
__init__(self,
execfunction,
cmdstr,
*args,
**kw)
| |
__str__(self)
| |
execute(self,
target,
source,
env)
| |
function_name(self)
| |
Return the signature contents of this callable action. | |
get_implicit_deps(self,
target,
source,
env)
| |
strfunction(self,
target,
source,
env)
| |
| Inherited from ActionBase | |
| |
| |
| |
| |
Return the Executor for this Action. | |
| |
| Method Details |
|---|
get_contents(self, target, source, env)Return the signature contents of this callable action. By providing direct access to the code object of the function, Python makes this extremely easy. Hooray! Unfortunately, older versions of Python include line number indications in the compiled byte code. Boo! So we remove the line number byte codes to prevent recompilations from moving a Python function. |
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Wed Dec 12 09:39:32 2007 | http://epydoc.sf.net |