summaryrefslogtreecommitdiffstats
path: root/Tools/modulator/Tkextra.py
diff options
context:
space:
mode:
authorCollin Winter <collinw@gmail.com>2007-08-03 17:06:41 (GMT)
committerCollin Winter <collinw@gmail.com>2007-08-03 17:06:41 (GMT)
commit6afaeb757af0dbd8508a0f2352ade61e41bec84c (patch)
treef1b31bc7138b17ff39791bbb45aa81583c3b6e46 /Tools/modulator/Tkextra.py
parente5d0e8431f929cad2da77b63fe1b7dc0ff21a428 (diff)
downloadcpython-6afaeb757af0dbd8508a0f2352ade61e41bec84c.zip
cpython-6afaeb757af0dbd8508a0f2352ade61e41bec84c.tar.gz
cpython-6afaeb757af0dbd8508a0f2352ade61e41bec84c.tar.bz2
Convert print statements to function calls in Tools/.
Diffstat (limited to 'Tools/modulator/Tkextra.py')
-rwxr-xr-xTools/modulator/Tkextra.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/Tools/modulator/Tkextra.py b/Tools/modulator/Tkextra.py
index 8f55728..f8e2ca2 100755
--- a/Tools/modulator/Tkextra.py
+++ b/Tools/modulator/Tkextra.py
@@ -198,7 +198,7 @@ def _go():
'',
-1,
'OK')
- print 'pressed button', i
+ print('pressed button', i)
i = dialog(mainWidget,
'File Modified',
'File "tcl.h" has been modified since '
@@ -209,13 +209,13 @@ def _go():
'Save File',
'Discard Changes',
'Return To Editor')
- print 'pressed button', i
- print message('Test of message')
- print askyn('Test of yes/no')
- print askync('Test of yes/no/cancel')
- print askstr('Type a string:')
- print strdialog(mainWidget, 'Question', 'Another string:', '',
- 0, 'Save', 'Save as text')
+ print('pressed button', i)
+ print(message('Test of message'))
+ print(askyn('Test of yes/no'))
+ print(askync('Test of yes/no/cancel'))
+ print(askstr('Type a string:'))
+ print(strdialog(mainWidget, 'Question', 'Another string:', '',
+ 0, 'Save', 'Save as text'))
def _test():
import sys