diff options
author | William Deegan <bill@baddogconsulting.com> | 2016-12-23 00:38:11 (GMT) |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2016-12-23 00:38:11 (GMT) |
commit | edfd89550e6aa41696408a0280014ac8cc73e8b3 (patch) | |
tree | e41e035e92c272f6583fdcb70e1f954d1e955efa /src/engine/SCons/Action.py | |
parent | 3ba8ac0c4c2b9c92e2b15a6623ad2181931b0e2f (diff) | |
download | SCons-edfd89550e6aa41696408a0280014ac8cc73e8b3.zip SCons-edfd89550e6aa41696408a0280014ac8cc73e8b3.tar.gz SCons-edfd89550e6aa41696408a0280014ac8cc73e8b3.tar.bz2 |
Added some details comments to _function_contents() which is used to generate action signatures.
Diffstat (limited to 'src/engine/SCons/Action.py')
-rw-r--r-- | src/engine/SCons/Action.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/engine/SCons/Action.py b/src/engine/SCons/Action.py index 08e36c5..8fa672b 100644 --- a/src/engine/SCons/Action.py +++ b/src/engine/SCons/Action.py @@ -293,9 +293,10 @@ def _function_contents(func): ,( comma separated _object_contents for function argument defaults) ,( comma separated _object_contents for any closure contents ) - func.__code__ - Code object for function - func.__defaults__ - Tuple of function argument default values - func.__closure__ - + func.__code__ - The code object representing the compiled function body. + func.__defaults__ - A tuple containing default argument values for those arguments + that have defaults, or None if no arguments have a default value + func.__closure__ - None or a tuple of cells that contain bindings for the function's free variables. """ contents = [_code_contents(func.__code__)] |