Fix more lingering print statements. · pythoncapi/cpython@b13c493 · GitHub
Skip to content

Commit b13c493

Browse files
committed
Fix more lingering print statements.
1 parent fd51975 commit b13c493

3 files changed

Lines changed: 14 additions & 14 deletions

File tree

Doc/includes/minidom-example.py

Lines changed: 8 additions & 8 deletions

Doc/tools/sphinx-build.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@
1212
if __name__ == '__main__':
1313

1414
if sys.version_info[:3] < (2, 5, 1):
15-
print >>sys.stderr, """\
15+
print("""\
1616
Error: Sphinx needs to be executed with Python 2.5.1 or newer
1717
(If you run this from the Makefile, you can set the PYTHON variable
1818
to the path of an alternative interpreter executable, e.g.,
1919
``make html PYTHON=python2.5``).
20-
"""
20+
""", file=sys.stderr)
2121
sys.exit(1)
2222

2323
from sphinx import main

PC/testpy.py

Lines changed: 4 additions & 4 deletions

0 commit comments

Comments
 (0)