mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
Convert print statements to function calls in Tools/.
This commit is contained in:
parent
e5d0e8431f
commit
6afaeb757a
66 changed files with 777 additions and 779 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue