summaryrefslogtreecommitdiff
path: root/bin/SConsDoc.py
diff options
context:
space:
mode:
authorStefan Zimmermann <zimmermann.code@gmail.com>2014-03-31 15:13:02 +0000
committerStefan Zimmermann <zimmermann.code@gmail.com>2014-03-31 15:13:02 +0000
commit15ad84e7cd33f33d287c63d6e00a221d859cce3b (patch)
tree4464eb544fe0cc698ea4d1c5789e19770b83cd6f /bin/SConsDoc.py
parent9d3a9c2cc0187294500ea8018a7ffcc1c7b67037 (diff)
downloadscons-15ad84e7cd33f33d287c63d6e00a221d859cce3b.tar.gz
Made former 2to3 changes Python 2.7 compatible (or removed unneeded changes).
Diffstat (limited to 'bin/SConsDoc.py')
-rw-r--r--bin/SConsDoc.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/bin/SConsDoc.py b/bin/SConsDoc.py
index 453e241d..80f41a58 100644
--- a/bin/SConsDoc.py
+++ b/bin/SConsDoc.py
@@ -24,6 +24,7 @@
#
# Module for handling SCons documentation processing.
#
+from __future__ import print_function
__doc__ = """
This module parses home-brew XML files that document various things
@@ -51,7 +52,7 @@ Builder example:
to indicate a new paragraph.
<example>
- print "this is example code, it will be offset and indented"
+ print("this is example code, it will be offset and indented")
</example>
</summary>
</builder>
@@ -71,7 +72,7 @@ Function example:
&f-FUNCTION; element. It need not be on a line by itself.</para>
<example>
- print "this is example code, it will be offset and indented"
+ print("this is example code, it will be offset and indented")
</example>
</summary>
</scons_function>
@@ -88,7 +89,7 @@ Construction variable example:
&t-VARIABLE; element. It need not be on a line by itself.</para>
<example>
- print "this is example code, it will be offset and indented"
+ print("this is example code, it will be offset and indented")
</example>
</summary>
</cvar>
@@ -105,7 +106,7 @@ Tool example:
&t-TOOL; element. It need not be on a line by itself.</para>
<example>
- print "this is example code, it will be offset and indented"
+ print("this is example code, it will be offset and indented")
</example>
</summary>
</tool>