diff options
author | Collin Winter <collinw@gmail.com> | 2007-08-30 18:39:28 (GMT) |
---|---|---|
committer | Collin Winter <collinw@gmail.com> | 2007-08-30 18:39:28 (GMT) |
commit | e7bf59f500481715e76ff646f6728e28361faff2 (patch) | |
tree | 3f3dcd530272bb5be36089c3f2f3345ee373012f /Mac/Demo/PICTbrowse/PICTbrowse.py | |
parent | 716c3ac40cae880193dfdbda39a0ca7ed7cd2854 (diff) | |
download | cpython-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.py | 6 |
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) |