summaryrefslogtreecommitdiffstats
path: root/doc/user/simple.xml
diff options
context:
space:
mode:
authorCraig Rodrigues <rodrigc@FreeBSD.org>2017-03-10 06:40:59 (GMT)
committerCraig Rodrigues <rodrigc@FreeBSD.org>2017-03-10 06:40:59 (GMT)
commit201e568bed7c69fcc89229db1ed68be6ff75b3bc (patch)
tree364f0b203d4e86071c51c2e77576d39e1e2d0bbf /doc/user/simple.xml
parentef2b52bbda4aa2ff98b73d13a0ff32782b25e0fd (diff)
downloadSCons-201e568bed7c69fcc89229db1ed68be6ff75b3bc.zip
SCons-201e568bed7c69fcc89229db1ed68be6ff75b3bc.tar.gz
SCons-201e568bed7c69fcc89229db1ed68be6ff75b3bc.tar.bz2
Use print() function to fix py2/3
Diffstat (limited to 'doc/user/simple.xml')
-rw-r--r--doc/user/simple.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/user/simple.xml b/doc/user/simple.xml
index a015c91..acc438b 100644
--- a/doc/user/simple.xml
+++ b/doc/user/simple.xml
@@ -442,11 +442,11 @@ Program('hello.c') # "hello.c" is the source file.
<scons_example name="simple_declarative">
<file name="SConstruct" printme="1">
-print "Calling Program('hello.c')"
+print("Calling Program('hello.c')")
Program('hello.c')
-print "Calling Program('goodbye.c')"
+print("Calling Program('goodbye.c')")
Program('goodbye.c')
-print "Finished calling Program()"
+print("Finished calling Program()")
</file>
<file name="hello.c">
int main() { printf("Hello, world!\n"); }