summaryrefslogtreecommitdiff
path: root/Examples/python/docstrings/runme.py
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/python/docstrings/runme.py')
-rw-r--r--Examples/python/docstrings/runme.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Examples/python/docstrings/runme.py b/Examples/python/docstrings/runme.py
index c25d291b6..76386d214 100644
--- a/Examples/python/docstrings/runme.py
+++ b/Examples/python/docstrings/runme.py
@@ -2,4 +2,4 @@
import example
-print "example.Foo.bar.__doc__ =", repr(example.Foo.bar.__doc__), "(Should be 'No comment')"
+print("example.Foo.bar.__doc__ = %s (Should be 'No comment')" % repr(example.Foo.bar.__doc__))