diff options
author | William Deegan <bill@baddogconsulting.com> | 2023-01-29 00:52:07 (GMT) |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2023-01-29 00:52:07 (GMT) |
commit | a220b3f5989db0696d9d03a0988cbcff60e90e59 (patch) | |
tree | f8cce0c05888743c2337bbc1a7a066c056165e4b /SCons/Node/Python.py | |
parent | e980c5bc26892ce4db1e45516e9983bbc6a2bd33 (diff) | |
parent | 04bc3eaab31c5437764b10ee942b19740b5139c9 (diff) | |
download | SCons-a220b3f5989db0696d9d03a0988cbcff60e90e59.zip SCons-a220b3f5989db0696d9d03a0988cbcff60e90e59.tar.gz SCons-a220b3f5989db0696d9d03a0988cbcff60e90e59.tar.bz2 |
Merge remote-tracking branch 'upstream/master' into fix_configure_marking_up_to_date
Diffstat (limited to 'SCons/Node/Python.py')
-rw-r--r-- | SCons/Node/Python.py | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/SCons/Node/Python.py b/SCons/Node/Python.py index 80d2762..57416ef 100644 --- a/SCons/Node/Python.py +++ b/SCons/Node/Python.py @@ -75,8 +75,13 @@ class ValueBuildInfo(SCons.Node.BuildInfoBase): class Value(SCons.Node.Node): - """A class for Python variables, typically passed on the command line - or generated by a script, but not from a file or some other source. + """A Node class for values represented by Python expressions. + + Values are typically passed on the command line or generated + by a script, but not from a file or some other source. + + .. versionchanged:: 4.0 + the *name* parameter was added. """ NodeInfo = ValueNodeInfo @@ -165,8 +170,10 @@ class Value(SCons.Node.Node): def ValueWithMemo(value, built_value=None, name=None): - """ - Memoized Value() node factory. + """Memoized :class:`Value` node factory. + + .. versionchanged:: 4.0 + the *name* parameter was added. """ global _memo_lookup_map |