summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_global.py
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2008-05-13 04:55:24 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2008-05-13 04:55:24 (GMT)
commit752abd0d3cc66f84f551650b8424248b202a16a4 (patch)
treef5302f8a246115f3f61a1414a94c8d2ce12a3a01 /Lib/test/test_global.py
parent8321f978918e3ae4de18672770c6504dcae82343 (diff)
downloadcpython-752abd0d3cc66f84f551650b8424248b202a16a4.zip
cpython-752abd0d3cc66f84f551650b8424248b202a16a4.tar.gz
cpython-752abd0d3cc66f84f551650b8424248b202a16a4.tar.bz2
Convert a lot of print statements to print functions in docstrings,
documentation, and unused/rarely used functions.
Diffstat (limited to 'Lib/test/test_global.py')
-rw-r--r--Lib/test/test_global.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_global.py b/Lib/test/test_global.py
index 22e4b25..2a58a10 100644
--- a/Lib/test/test_global.py
+++ b/Lib/test/test_global.py
@@ -21,7 +21,7 @@ def wrong1():
def test2(self):
prog_text_2 = """\
def wrong2():
- print x
+ print(x)
global x
"""
check_syntax_error(self, prog_text_2)
@@ -29,7 +29,7 @@ def wrong2():
def test3(self):
prog_text_3 = """\
def wrong3():
- print x
+ print(x)
x = 2
global x
"""