summaryrefslogtreecommitdiffstats
path: root/doc/generated/functions.gen
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2021-02-26 22:48:20 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2021-02-26 22:48:20 (GMT)
commit01e55464940442697105c646e22dc700ac102854 (patch)
treef679d8958f1f8f3d29da6ca43f11f2dd272af275 /doc/generated/functions.gen
parent3fa309f8fc5472fa067d7c04481fd0a5d3e86352 (diff)
downloadSCons-01e55464940442697105c646e22dc700ac102854.zip
SCons-01e55464940442697105c646e22dc700ac102854.tar.gz
SCons-01e55464940442697105c646e22dc700ac102854.tar.bz2
update example to simplify map_filename and relocate emitter to after that variable is set as it uses it
Diffstat (limited to 'doc/generated/functions.gen')
-rw-r--r--doc/generated/functions.gen8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/generated/functions.gen b/doc/generated/functions.gen
index 382315e..61b1fed 100644
--- a/doc/generated/functions.gen
+++ b/doc/generated/functions.gen
@@ -481,10 +481,10 @@ Example:
</para>
<example_commands>
-print 'before:',env['ENV']['INCLUDE']
+print('before:', env['ENV']['INCLUDE'])
include_path = '/foo/bar:/foo'
env.AppendENVPath('INCLUDE', include_path)
-print 'after:',env['ENV']['INCLUDE']
+print('after:', env['ENV']['INCLUDE'])
yields:
before: /foo:/biz
@@ -2973,10 +2973,10 @@ Example:
</para>
<example_commands>
-print 'before:',env['ENV']['INCLUDE']
+print('before:', env['ENV']['INCLUDE'])
include_path = '/foo/bar:/foo'
env.PrependENVPath('INCLUDE', include_path)
-print 'after:',env['ENV']['INCLUDE']
+print('after:', env['ENV']['INCLUDE'])
</example_commands>
<para>