Skip to content

Commit f5f7984

Browse files
committed
Minor edits
1 parent e8676f2 commit f5f7984

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

CHANGES.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ RELEASE VERSION/DATE TO BE FILLED IN LATER
1111

1212
From Thaddeus Crews:
1313
- GetSConsVersion() to grab the latest SCons version without needing to
14-
dig into private functions.
14+
access SCons internals.
1515

1616
From Raymond Li:
1717
- Fix issue #3935: OSErrors are now no longer hidden during execution of

RELEASE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Here is a summary of the changes since 4.7.0:
1616
NEW FUNCTIONALITY
1717
-----------------
1818

19-
- GetSConsVersion() to grab the current SCons version from an exposed api.
19+
- GetSConsVersion() added to retrieve the SCons version.
2020

2121
DEPRECATED FUNCTIONALITY
2222
------------------------

SCons/Script/SConscript.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ EnsureSConsVersion(0,96,90)
144144
<para>
145145
Returns the current SCons version in the form of a Tuple[int, int, int],
146146
representing the major, minor, and revision values respectively.
147+
<emphasis>Added in 4.7.1</emphasis>.
147148
</para>
148149
</summary>
149150
</scons_function>

doc/user/misc.xml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -178,16 +178,15 @@ SCons 1.0 or greater required, but you have SCons 0.98.5
178178
</section>
179179

180180
<section>
181-
<title>Grabbing the current SCons Version: the &GetSConsVersion; Function</title>
181+
<title>Accessing SCons Version: the &GetSConsVersion; Function</title>
182182

183183
<para>
184184

185185
While &EnsureSConsVersion; is acceptable for most cases, there
186186
are times where the user will want to support multiple SCons versions
187187
simultaneously. In this scenario, it's beneficial to retrieve version
188188
information of the currently executing SCons directly. This was previously
189-
only possible by accessing private class methods, which made the
190-
process cumbersome and unintuitive. From 4.8 onwards, it's now possible
189+
only possible by accessing SCons internals. From SCons4.8 onwards, it's now possible
191190
to instead call &GetSConsVersion; to recieve a tuple containing the
192191
major, minor, and revision values of the current version.
193192

0 commit comments

Comments
 (0)