diff options
author | Collin Winter <collinw@gmail.com> | 2007-07-17 20:59:35 (GMT) |
---|---|---|
committer | Collin Winter <collinw@gmail.com> | 2007-07-17 20:59:35 (GMT) |
commit | 6f2df4d5e193d54244b0c2de91ef0ab1604b9243 (patch) | |
tree | 5e172400da7561eb4bb8fafc62c8cab511d74dad /Demo/tkinter/matt/canvas-reading-tag-info.py | |
parent | a8c360ee76fb76902a2e2140fbb38d4b06b2d9fb (diff) | |
download | cpython-6f2df4d5e193d54244b0c2de91ef0ab1604b9243.zip cpython-6f2df4d5e193d54244b0c2de91ef0ab1604b9243.tar.gz cpython-6f2df4d5e193d54244b0c2de91ef0ab1604b9243.tar.bz2 |
Run 2to3 over the Demo/ directory to shut up parse errors from 2to3 about lingering print statements.
Diffstat (limited to 'Demo/tkinter/matt/canvas-reading-tag-info.py')
-rw-r--r-- | Demo/tkinter/matt/canvas-reading-tag-info.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Demo/tkinter/matt/canvas-reading-tag-info.py b/Demo/tkinter/matt/canvas-reading-tag-info.py index f57ea18..75990c9 100644 --- a/Demo/tkinter/matt/canvas-reading-tag-info.py +++ b/Demo/tkinter/matt/canvas-reading-tag-info.py @@ -3,7 +3,7 @@ from Tkinter import * class Test(Frame): def printit(self): - print "hi" + print("hi") def createWidgets(self): self.QUIT = Button(self, text='QUIT', foreground='red', @@ -28,14 +28,14 @@ class Test(Frame): # is used for widgets. (remember, this is for ITEMS drawn # on a canvas widget, not widgets) option_value = self.drawing.itemconfig(pgon, "stipple") - print "pgon's current stipple value is -->", option_value[4], "<--" + print("pgon's current stipple value is -->", option_value[4], "<--") option_value = self.drawing.itemconfig(pgon, "fill") - print "pgon's current fill value is -->", option_value[4], "<--" - print " when he is usually colored -->", option_value[3], "<--" + print("pgon's current fill value is -->", option_value[4], "<--") + print(" when he is usually colored -->", option_value[3], "<--") ## here we print out all the tags associated with this object option_value = self.drawing.itemconfig(pgon, "tags") - print "pgon's tags are", option_value[4] + print("pgon's tags are", option_value[4]) self.drawing.pack(side=LEFT) |