summaryrefslogtreecommitdiffstats
path: root/Mac/Demo/PICTbrowse/PICTbrowse.py
diff options
context:
space:
mode:
authorCollin Winter <collinw@gmail.com>2007-08-30 18:39:28 (GMT)
committerCollin Winter <collinw@gmail.com>2007-08-30 18:39:28 (GMT)
commite7bf59f500481715e76ff646f6728e28361faff2 (patch)
tree3f3dcd530272bb5be36089c3f2f3345ee373012f /Mac/Demo/PICTbrowse/PICTbrowse.py
parent716c3ac40cae880193dfdbda39a0ca7ed7cd2854 (diff)
downloadcpython-e7bf59f500481715e76ff646f6728e28361faff2.zip
cpython-e7bf59f500481715e76ff646f6728e28361faff2.tar.gz
cpython-e7bf59f500481715e76ff646f6728e28361faff2.tar.bz2
Run 2to3's print fixer over some places that had been missed.
Diffstat (limited to 'Mac/Demo/PICTbrowse/PICTbrowse.py')
-rw-r--r--Mac/Demo/PICTbrowse/PICTbrowse.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Mac/Demo/PICTbrowse/PICTbrowse.py b/Mac/Demo/PICTbrowse/PICTbrowse.py
index 0adfc83..83f431e 100644
--- a/Mac/Demo/PICTbrowse/PICTbrowse.py
+++ b/Mac/Demo/PICTbrowse/PICTbrowse.py
@@ -69,9 +69,9 @@ class PICTwindow(FrameWork.Window):
self.resid = resid
picture = Qd.GetPicture(self.resid)
# Get rect for picture
- print repr(picture.data[:16])
+ print(repr(picture.data[:16]))
sz, t, l, b, r = struct.unpack('hhhhh', picture.data[:10])
- print 'pict:', t, l, b, r
+ print('pict:', t, l, b, r)
width = r-l
height = b-t
if width < 64: width = 64
@@ -79,7 +79,7 @@ class PICTwindow(FrameWork.Window):
if height < 64: height = 64
elif height > 320: height = 320
bounds = (LEFT, TOP, LEFT+width, TOP+height)
- print 'bounds:', bounds
+ print('bounds:', bounds)
self.wid = Win.NewWindow(bounds, resname, 1, 0, -1, 1, 0)
self.wid.SetWindowPic(picture)