diff options
author | Mats Wichmann <mats@linux.com> | 2021-01-21 15:47:38 (GMT) |
---|---|---|
committer | Mats Wichmann <mats@linux.com> | 2021-01-21 15:47:38 (GMT) |
commit | 426885c8929b93944edcf8a0962331d36fbcdc73 (patch) | |
tree | ac91e4bd13c456b62cdd85438b8a56581a39579c /doc/generated | |
parent | 2d298e47bbff94bded41c54bb76ab865dace5db8 (diff) | |
download | SCons-426885c8929b93944edcf8a0962331d36fbcdc73.zip SCons-426885c8929b93944edcf8a0962331d36fbcdc73.tar.gz SCons-426885c8929b93944edcf8a0962331d36fbcdc73.tar.bz2 |
Some small doc fiddles [ci skip]
* Use os.environ.copy() in examples - better not to get the
Python proxy class that is os.environ, and instead a real dict.
* Fix spelling on a python dict method: set_default -> setdefault
* Update some wording on prepending in the user guide (where it
still said "append to the beginning")
* Change the rather oblique note in the recently modified section
on Append of values to CPPDEFINES with something more explicit.
* And, modify the sphinx config to get the version from SCons
rather than hardcoding.
Fixes #3867
Signed-off-by: Mats Wichmann <mats@linux.com>
Diffstat (limited to 'doc/generated')
-rw-r--r-- | doc/generated/variables.gen | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/generated/variables.gen b/doc/generated/variables.gen index a16efae..1ac53fe 100644 --- a/doc/generated/variables.gen +++ b/doc/generated/variables.gen @@ -1636,7 +1636,7 @@ you must do so explicitly: <example_commands> import os -env = Environment(ENV = os.environ) +env = Environment(ENV=os.environ.copy()) </example_commands> <para> @@ -1654,7 +1654,7 @@ as the invoking shell (or other process): <example_commands> import os -env = Environment(ENV = {'PATH' : os.environ['PATH']}) +env = Environment(ENV={'PATH': os.environ['PATH']}) </example_commands> </listitem> </varlistentry> |