From edfd89550e6aa41696408a0280014ac8cc73e8b3 Mon Sep 17 00:00:00 2001 From: William Deegan Date: Thu, 22 Dec 2016 16:38:11 -0800 Subject: Added some details comments to _function_contents() which is used to generate action signatures. --- src/engine/SCons/Action.py | 7 ++++--- 1 file 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__)] -- cgit v0.12