summaryrefslogtreecommitdiffstats
path: root/SCons/Node/Python.py
diff options
context:
space:
mode:
Diffstat (limited to 'SCons/Node/Python.py')
-rw-r--r--SCons/Node/Python.py15
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