mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Run 2to3 over the Demo/ directory to shut up parse errors from 2to3 about lingering print statements.
This commit is contained in:
parent
a8c360ee76
commit
6f2df4d5e1
132 changed files with 1070 additions and 1080 deletions
|
@ -7,11 +7,11 @@ from Tkinter import *
|
|||
|
||||
### ******* this isn't really called -- read the comments
|
||||
def my_delete_callback():
|
||||
print "whoops -- tried to delete me!"
|
||||
print("whoops -- tried to delete me!")
|
||||
|
||||
class Test(Frame):
|
||||
def deathHandler(self, event):
|
||||
print self, "is now getting nuked. performing some save here...."
|
||||
print(self, "is now getting nuked. performing some save here....")
|
||||
|
||||
def createWidgets(self):
|
||||
# a hello button
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue